Refactored legacy ruby code by writing tests first, then extracting logic from a single method, into discreet methods.
$ git clone [email protected]:LazySamir/gilded-rose-ruby.git
$ cd gilded-rose-ruby
$ bundle
$ rspec
$ ruby texttest_fixture.rb
Refactored legacy ruby code by writing tests first, then extracting logic from a single method, into discreet methods.
$ git clone [email protected]:LazySamir/gilded-rose-ruby.git
$ cd gilded-rose-ruby
$ bundle
$ rspec
$ ruby texttest_fixture.rb