Skip to content

Commit 24ed50b

Browse files
committed
test special characters
1 parent 731790f commit 24ed50b

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

sassc-rails.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
3131

3232
spec.add_dependency 'tilt' # For ERB
3333

34-
spec.add_dependency "sassc", "1.0.0"
34+
spec.add_dependency "sassc", "1.1.0"
3535
spec.add_dependency 'railties'
3636
spec.add_dependency 'sprockets', '3.0.0.beta.6'
3737
end
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$sißßßßßße: 30px;
2+
3+
.hßß©i {
4+
width: $sißßßßßße;
5+
}

test/sassc_rails_test.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ def test_context_is_being_passed_to_erb_render
159159
assert_match /@font-face/, css_output
160160
end
161161

162+
def test_special_characters_compile
163+
initialize!
164+
css_output = render_asset("special_characters.scss")
165+
end
166+
162167
#test 'sprockets require works correctly' do
163168
# skip
164169

0 commit comments

Comments
 (0)