fix tests

This commit is contained in:
r888888888
2014-06-18 16:51:55 -07:00
parent f02f72fac1
commit f65691b5e6
9 changed files with 12 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ class SavedSearchTest < ActiveSupport::TestCase
should "update the bitpref on the user" do
@user.reload
assert(@user.has_saved_searchs?, "should have saved_searches bitpref set")
assert(@user.has_saved_searches?, "should have saved_searches bitpref set")
end
end
@@ -34,7 +34,7 @@ class SavedSearchTest < ActiveSupport::TestCase
end
should "not be able to create another saved search" do
assert_equal(["User can only have up to 0 saved searches"], @saved_search.errors.full_messages)
assert_equal(["You can only have up to 0 saved searches"], @saved_search.errors.full_messages)
end
end
end