Skip to content

Commit a795510

Browse files
authored
Merge pull request #98 from jhawthorn/fix_tests
Fix tests
2 parents 63acddc + 7d46f6c commit a795510

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sassc_rails_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def test_line_comments_active_in_dev
167167

168168
css_output = render_asset("css_scss_handler.css")
169169
assert_match %r{/* line 1}, css_output
170-
assert_match %r{.+/sassc-rails/test/dummy/app/assets/stylesheets/css_scss_handler.css.scss}, css_output
170+
assert_match %r{.+test/dummy/app/assets/stylesheets/css_scss_handler.css.scss}, css_output
171171
end
172172

173173
def test_context_is_being_passed_to_erb_render
@@ -191,7 +191,7 @@ def test_css_compressor_config_item_is_honored_if_not_development_mode
191191
def test_css_compressor_config_item_may_be_nil_in_test_mode
192192
@app.config.assets.css_compressor = nil
193193
initialize!
194-
assert_equal nil, Rails.application.config.assets.css_compressor
194+
assert_nil Rails.application.config.assets.css_compressor
195195
end
196196

197197
def test_css_compressor_is_defined_in_test_mode

0 commit comments

Comments
 (0)