X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/90fd22e2a35cea1e4bc55185f93267c49fb37b6e..61c32388a9d9543ce0b3144fdfac22c73c9efe7f:/test/integration/user_changeset_comments_test.rb diff --git a/test/integration/user_changeset_comments_test.rb b/test/integration/user_changeset_comments_test.rb index 2b95094fe..a1f08ae6d 100644 --- a/test/integration/user_changeset_comments_test.rb +++ b/test/integration/user_changeset_comments_test.rb @@ -1,26 +1,6 @@ require "test_helper" class UserChangesetCommentsTest < ActionDispatch::IntegrationTest - # Test 'log in to comment' message for nonlogged in user - def test_log_in_message - changeset = create(:changeset, :closed) - - get "/changeset/#{changeset.id}" - assert_response :success - - assert_select "div#content" do - assert_select "div#sidebar" do - assert_select "div#sidebar_content" do - assert_select "div" do - assert_select "p.notice" do - assert_select "a[href='/login?referer=%2Fchangeset%2F#{changeset.id}']", :text => I18n.t("browse.changeset.join_discussion"), :count => 1 - end - end - end - end - end - end - # Test if the form is shown def test_displaying_form user = create(:user)