From ebe07c5ead4b4c26460fed56471a17e9290d0431 Mon Sep 17 00:00:00 2001 From: Curtis Schofield <178963+robotarmy@users.noreply.github.com> Date: Tue, 1 Feb 2011 19:37:53 -0800 Subject: [PATCH 1/2] rspec2 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 From c9ee0ceab61d84ffff902e0706142b6cacf4ef9f Mon Sep 17 00:00:00 2001 From: Curtis Schofield <178963+robotarmy@users.noreply.github.com> Date: Tue, 1 Feb 2011 20:25:47 -0800 Subject: [PATCH 2/2] 1.9.2 require --- 03_calculator/calculator_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"