I'm trying out rspec_on_rails with a very simple test:<br><br>...<br> specify "product name should be 'test'" do<br> Product.find( :all ).first.name.should_equal 'test'<br> end<br>...<br><br>with this fixture:
<br><br>first:<br> id: 1<br> name: test<br><br>When I run it:<br><br>.F<br><br>1)<br>'Given a generated product_spec.rb with fixtures loaded product name should be test' FAILED<br>"test" should equal "test"
<br>./spec/models/product_spec.rb:12:<br><br>Finished in 0.015563 seconds<br><br>2 specifications, 1 failure<br>rake aborted!<br><br>-------------------------<br><br>"test" should equal "test", well, it does. Why is this failing?
<br><br>(Installed rspec gem, installed 0_7_4 of rspec on rails plugin)<br><br><br>Thanks<br>Adam<br><br><br>