search for: have_instance_methods

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

2010 Dec 22
8
Shoulda issue: no more "should have_instance_methods" ?
...r file so I can test acts_as_list, I came across issues. For one I realized I had to get rid of the _ between the "should" and "have" in past cases, but here, I get this error when I run my unit test: ./test/test_helper.rb:28:in `should_act_as_list'': undefined method `have_instance_methods'' for ArticleTest:Class (NoMethodError) What''s the Rails 3 way to test acts_as_list with Shoulda? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5...