another set of dynamic finder migrations. All non-cucumber tests pass

This commit is contained in:
Reinier Balt 2013-02-27 11:50:49 +01:00
parent 64a198d45a
commit ef91dd0c64
18 changed files with 66 additions and 66 deletions

View file

@ -39,7 +39,7 @@ class ContextXmlApiTest < ActionController::IntegrationTest
authenticated_post_xml_to_context_create
assert_response 201
end
context1 = Context.find_by_name(@@context_name)
context1 = Context.where(:name => @@context_name).first
assert_not_nil context1, "expected context '#{@@context_name}' to be created"
end