> 1) Motorcycle finding a motorcycle by name should return an instance > of the Motorcycle class > Failure/Error: Unable to find matching line from backtrace > expected 0 to be a kind of Motorcycle > # ./motoapp.rb:75
I also am noticing that you don't have any sort of setup for your test.. In order for your find method to be able to retrieve anything, I believe you are going to need to call .create prior to it. describe Motorcycle do before :each do Motorcycle.create end describe "finding a motorcycle by name" do ...etc end end Patrick J. Collins http://collinatorstudios.com _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users