Skip to content

Commit 37c98c3

Browse files
committed
Add a simple integration test for the scaffolded system test
1 parent 0653d82 commit 37c98c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/integration/user_install_test.sh

+3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ fi
6363
bin/rails generate scaffold post title:string body:text published:boolean
6464
grep -q "Show" app/views/posts/index.html.erb
6565

66+
# TEST: the "accept_confirm" system test change was applied cleanly
67+
grep -q "accept_confirm { click_on \"Destroy this post\"" test/system/posts_test.rb
68+
6669
# TEST: contents of the css file
6770
bin/rails tailwindcss:build[verbose]
6871
grep -q "py-2" app/assets/builds/tailwind.css

0 commit comments

Comments
 (0)