alexch / learn_ruby

a basic ruby class generated from test-first-teaching
http://testfirst.org
261 stars 2.83k forks source link

Trouble with exercise 11: Dictionary #22

Open ajberk opened 10 years ago

ajberk commented 10 years ago

hello,

While working on the dictionary exercise, I was running into some problems. For a check, I decided to run your solution, but your solution was failing the 2nd test. Do I need some special installation to run "Dictionary" that is different from the previous exercises?

Thanks

ajberk commented 10 years ago

In case anyone is having a similar problem, I found a solution,

I went into the spec file and changed all instances of "should be_true" and "should be_false" to "should == true" and "should == false". This seemed to have made it work.

gil27 commented 10 years ago

Just in case... http://stackoverflow.com/a/21321645