X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..c365e2b28ac47e27b8cbbaca27fde59dedafdbca:/test/models/user_preference_test.rb diff --git a/test/models/user_preference_test.rb b/test/models/user_preference_test.rb index ee2dbf2d8..d3400bc9d 100644 --- a/test/models/user_preference_test.rb +++ b/test/models/user_preference_test.rb @@ -20,7 +20,7 @@ class UserPreferenceTest < ActiveSupport::TestCase new_up.k = up.k new_up.v = "some other value" assert_not_equal new_up.v, up.v - assert_raise (ActiveRecord::RecordNotUnique) { new_up.save } + assert_raise(ActiveRecord::RecordNotUnique) { new_up.save } end def test_check_valid_length