Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions 03_calculator/calculator_spec.rb
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down