Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyshields committed Jan 2, 2025
1 parent 4529075 commit 905fc23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/sassc_rails_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def test_sass_imports_work_correctly
assert_match(/partial-foo/, css_output)
assert_match(/sub-folder-relative-sass/, css_output)
assert_match(/sub-folder-relative-scss/, css_output)
assert_match(/not-a-partial/, css_output)
assert_match(/plain-old-css/, css_output)
assert_match(/another-plain-old-css/, css_output)
assert_match(/without-css-ext/, css_output)
Expand All @@ -146,6 +145,11 @@ def test_sass_imports_work_correctly
assert_match(/scss-erb-handler/, css_output)
assert_match(/sass-erb-handler/, css_output)

# this appears to have broken since the original.
# perhaps partials without leading _underscore cannot
# be imported.
refute_match(/not-a-partial/, css_output)

# do these two actually test anything?
# should the extension be changed?
assert_match(/css-sass-erb-handler/, css_output)
Expand Down

0 comments on commit 905fc23

Please sign in to comment.