1 require "application_system_test_case"
3 class HistoryTest < ApplicationSystemTestCase
4 test "atom link on user's history is not modified" do
6 create(:changeset, :user => user, :num_changes => 1) do |changeset|
7 create(:changeset_tag, :changeset => changeset, :k => "comment", :v => "first-changeset-in-history")
10 visit "#{user_path(user)}/history"
11 changesets = find "div.changesets"
12 changesets.assert_text "first-changeset-in-history"
14 assert_css "link[type='application/atom+xml'][href$='#{user_path(user)}/history/feed']", :visible => false