1 require "application_system_test_case"
3 class ChangesetSystemTest < ApplicationSystemTestCase
4 test "show existing changeset" do
5 changeset = create(:changeset)
7 visit changeset_path(changeset)
9 assert_text "Changeset: #{changeset.id}"
13 test "show error message for a changeset that doesn't exist" do
14 visit changeset_path(0)
16 assert_text "changeset #0 could not be found"