]> git.openstreetmap.org Git - rails.git/blob - test/system/changeset_test.rb
Don't show types twice in issue type select
[rails.git] / test / system / changeset_test.rb
1 require "application_system_test_case"
2
3 class ChangesetSystemTest < ApplicationSystemTestCase
4   test "show existing changeset" do
5     changeset = create(:changeset)
6
7     visit changeset_path(changeset)
8     within_sidebar do
9       assert_text "Changeset: #{changeset.id}"
10     end
11   end
12
13   test "show error message for a changeset that doesn't exist" do
14     visit changeset_path(0)
15     within_sidebar do
16       assert_text "changeset #0 could not be found"
17     end
18   end
19 end