search for: test_title_minimum_width_3

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

2010 Jul 13
0
Unknown Method key? error in Rails 2.3.8 Unit testing
...ring:0x103519a88> 2) Error: test_presence_of_body_and_title(PostTest): NoMethodError: undefined method `key?'' for #<String:0x1034dd420> 3) Error: test_presence_of_title(PostTest): NoMethodError: undefined method `key?'' for #<String:0x1034af750> 4) Error: test_title_minimum_width_3(PostTest): NoMethodError: undefined method `key?'' for #<String:0x103481a80> And my test cases are class PostTest < ActiveSupport::TestCase def test_presence_of_title post = Post.new(:body=>"Some content") assert !post.save,"Saved post without tit...