X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6027c42ee7b5ac6b36e8a62135d2cf67b3ca8250..c77429000c55af95056572206a99774711c8d22b:/test/controllers/browse_controller_test.rb diff --git a/test/controllers/browse_controller_test.rb b/test/controllers/browse_controller_test.rb index 230a74cb6..d6bde97d6 100644 --- a/test/controllers/browse_controller_test.rb +++ b/test/controllers/browse_controller_test.rb @@ -68,8 +68,10 @@ class BrowseControllerTest < ActionController::TestCase end def test_read_changeset + user = create(:user) private_changeset = create(:changeset, :user => create(:user, :data_public => false)) - changeset = create(:changeset) + changeset = create(:changeset, :user => user) + create(:changeset, :user => user) browse_check "changeset", private_changeset.id, "browse/changeset" browse_check "changeset", changeset.id, "browse/changeset" end