diff --git a/03_calculator/calculator_spec.rb b/03_calculator/calculator_spec.rb index 66a6124..9596d91 100644 --- a/03_calculator/calculator_spec.rb +++ b/03_calculator/calculator_spec.rb @@ -1,5 +1,4 @@ -require "calculator" - +require File.join(File.dirname(__FILE__),'calculator') describe Calculator do it "should have a default name" do Calculator.new.name.should == "no name" diff --git a/README.md b/README.md index fe213aa..b911ce2 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,10 @@ Welcome to Ruby! sudo gem install rspec * Configure RSpec (optional). If you're running a bash shell, you can put the following in your .bash_profile to make the output a bit nicer. - + * rspec 1.3 alias spec="spec --color --format nested" + * rspec 2 + alias rspec="rspec --color --format nested" * For lesson 14