Skip to content

Commit

Permalink
Fix failing spec on line_comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hexgnu authored and indirect committed Apr 10, 2018
1 parent df1a4a5 commit d6de456
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/sassc_rails_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def initialize!

def initialize_dev!
Rails.env = "development"
Dir.chdir(File.join(File.dirname(__FILE__), '../../../'))
@app.initialize!
end

Expand Down Expand Up @@ -168,6 +169,7 @@ def test_line_comments_active_in_dev
initialize_dev!

css_output = render_asset("css_scss_handler.css")

assert_match %r{/* line 1}, css_output
assert_match %r{.+test/dummy/app/assets/stylesheets/css_scss_handler.css.scss}, css_output
end
Expand Down

0 comments on commit d6de456

Please sign in to comment.