Skip to content

Commit aaa75a1

Browse files
authored
Merge pull request #495 from rails/flavorjones-update-test-suite-for-theme-variables
test: update the integration install test to use static variable
2 parents 2bd245f + 37d5093 commit aaa75a1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: test/integration/user_install_test.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ set -eux
77

88
# set up dependencies
99
rm -f Gemfile.lock
10-
bundle remove actionmailer
10+
bundle remove actionmailer || true
11+
bundle remove rails || true
1112
bundle add rails --skip-install ${RAILSOPTS:-}
1213
bundle install --prefer-local
1314

@@ -47,7 +48,7 @@ end
4748
EOF
4849

4950
cat >> app/assets/tailwind/application.css <<EOF
50-
@theme { --color-special: #abc12399; }
51+
@theme static { --color-special: #abc12399; }
5152
EOF
5253

5354
bin/rails tailwindcss:build still_here | grep "Rake process did not exit early"

Diff for: test/integration/user_upgrade_test.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ set -eux
77

88
# set up dependencies
99
rm -f Gemfile.lock
10-
bundle remove actionmailer
10+
bundle remove actionmailer || true
11+
bundle remove rails || true
1112
bundle add rails --skip-install ${RAILSOPTS:-}
1213
bundle install --prefer-local
1314

0 commit comments

Comments
 (0)