Skip to content

Commit a6baeb5

Browse files
committed
test: verify the contents of tailwind.css in integration test
1 parent 61cadc1 commit a6baeb5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/integration/user_journey_test.sh

+6
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,9 @@ fi
5555
# TEST: presence of the generated file
5656
bin/rails generate scaffold post title:string body:text published:boolean
5757
grep -q "Show this post" app/views/posts/index.html.erb
58+
59+
# TEST: contents of the css file
60+
bin/rails tailwindcss:build[verbose]
61+
grep -q "py-2" app/assets/builds/tailwind.css
62+
63+
echo "OK"

0 commit comments

Comments
 (0)