Skip to content

Commit

Permalink
fixup! fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavSokov authored and ka8725 committed Jul 9, 2024
1 parent 372bbd9 commit 50356c2
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ def active_record_setup
end
end

test "GET #index when all migrations is down returns a not found text" do
@utils.run_migrations
get :index
assert_response :success
assert_select "p", text: "No phantom migrations found."
end

test "GET #show returns a successful response" do
get :show, params: { id: "20130906111511", database: "tmp/primary.sqlite3" }
assert_response :success
Expand Down

0 comments on commit 50356c2

Please sign in to comment.