File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ class SassRailsTest < Sass::Rails::TestCase
105
105
end
106
106
107
107
test 'sass imports work correctly' do
108
- css_output = sprockets_render ( 'scss_project' , 'application.scss ' )
108
+ css_output = sprockets_render ( 'scss_project' , 'application.css ' )
109
109
assert_match /main/ , css_output
110
110
assert_match /top-level/ , css_output
111
111
assert_match /partial-sass/ , css_output
@@ -167,7 +167,7 @@ class SassRailsTest < Sass::Rails::TestCase
167
167
end
168
168
169
169
test 'sass asset paths work' do
170
- css_output = sprockets_render ( 'scss_project' , 'application.scss ' )
170
+ css_output = sprockets_render ( 'scss_project' , 'application.css ' )
171
171
assert_match %r{asset-path:\s *"/assets/rails.png"} , css_output , 'asset-path:\s*"/assets/rails.png"'
172
172
assert_match %r{asset-url:\s *url\( /assets/rails.png\) } , css_output , 'asset-url:\s*url\(/assets/rails.png\)'
173
173
assert_match %r{image-path:\s *"/assets/rails.png"} , css_output , 'image-path:\s*"/assets/rails.png"'
You can’t perform that action at this time.
0 commit comments