Skip to content

Commit 33067d3

Browse files
authored
create failing test
1 parent 0f282e2 commit 33067d3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/integration/user_journey_test.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,11 @@ grep -q "Show this post" app/views/posts/index.html.erb
6161
bin/rails tailwindcss:build[verbose]
6262
grep -q "py-2" app/assets/builds/tailwind.css
6363

64+
# TEST: edit the css file by adding a custom property to the @theme block
65+
tailwind_application_css_file_path="app/assets/stylesheets/application.tailwind.css"
66+
echo -e "\n@theme { --color-tomato: #fafafa; }" >> "$tailwind_application_css_file_path"
67+
68+
bin/rails tailwindcss:build[verbose]
69+
grep -q "fafafa" app/assets/builds/tailwind.css
70+
6471
echo "OK"

0 commit comments

Comments
 (0)