Update tests
This commit is contained in:
@@ -13,7 +13,7 @@ class Cards::PublishesControllerTest < ActionDispatch::IntegrationTest
|
||||
post card_publish_path(card)
|
||||
end
|
||||
|
||||
assert_redirected_to card
|
||||
assert_redirected_to card.collection
|
||||
end
|
||||
|
||||
test "create and add another" do
|
||||
|
||||
@@ -10,7 +10,7 @@ class SmokeTest < ApplicationSystemTestCase
|
||||
fill_in_lexxy with: "I am editing this thing"
|
||||
click_on "Create card"
|
||||
|
||||
assert_selector "h1", text: "Hello, world!"
|
||||
assert_selector "h3", text: "Hello, world!"
|
||||
end
|
||||
|
||||
test "active storage attachments" do
|
||||
|
||||
Reference in New Issue
Block a user