Skip to content

Commit

Permalink
Revert "ensure sassc tests are working properly"
Browse files Browse the repository at this point in the history
This reverts commit de0c3ae.

Windows tests are failing
  • Loading branch information
schneems committed Jun 28, 2016
1 parent eecb2d4 commit 0bb48ff
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions lib/sprockets/sassc_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ def call(input)
change_source(SourceMapUtils.decode_json_source_map(map)["mappings"], input[:source_path])
)

engine.dependencies.each do |dependency|
context.metadata[:dependencies] << URIUtils.build_file_digest_uri(dependency.filename)
end

context.metadata.merge(data: css, map: map)
end

Expand Down
2 changes: 1 addition & 1 deletion test/shared_sass_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module SharedSassTestSprockets
end

test "@import css file from load path" do
assert_match /\A\s*\z/, render('sass/import_load_path.scss')
assert_equal "\n", render('sass/import_load_path.scss')
end

test "process css file" do
Expand Down
1 change: 0 additions & 1 deletion test/test_sassc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def setup
env.append_path(fixture_path('compass'))
env.append_path(fixture_path('octicons'))
env.register_transformer 'text/sass', 'text/css', Sprockets::SasscProcessor.new
env.register_transformer 'text/scss', 'text/css', Sprockets::ScsscProcessor.new
end
end

Expand Down

0 comments on commit 0bb48ff

Please sign in to comment.