search for: be_full_nam

Displaying 1 result from an estimated 1 matches for "be_full_nam".

Did you mean: be_full_name
2007 May 27
3
[NoMethodError] simple problem
...it doesn''t 1) NoMethodError in ''Person should return full name'' undefined method `full_name?'' for #<Person:0x3567964> ./spec/models/person_spec.rb:43: describe Person do it "should return full name" do person = Person.new person.should be_full_name end end class Person < ActiveRecord::Base def full_name true end end -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070527/18efd0c1/attachment.html