Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-sass.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2014-12-17 18:32:55 +0300
committerGleb Mazovetskiy <glebm@google.com>2015-01-18 01:49:15 +0300
commit3e33c6f0d7745cb6956d8d09281e729c2a48f072 (patch)
tree2ff9b0892f7f8dae6d8f4c6de8afb8e038645982 /test
parent64211e6c02d8124962d4ad6e7820cebeef2ecefb (diff)
woff2 support
Diffstat (limited to 'test')
-rw-r--r--test/sprockets_rails_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sprockets_rails_test.rb b/test/sprockets_rails_test.rb
index 686cfa06..38707ca8 100644
--- a/test/sprockets_rails_test.rb
+++ b/test/sprockets_rails_test.rb
@@ -16,7 +16,7 @@ class SprocketsRailsTest < Minitest::Test
assert compiled, 'Could not precompile assets'
Dir.glob(File.join(root, 'public', 'assets', 'app*.{css,js}')) do |path|
File.open(path, 'r') do |f|
- f.read.scan /url\("?[^"]+\.(?:jpg|png|eot|woff|ttf|svg)[^"]*"?\)/ do |m|
+ f.read.scan /url\("?[^"]+\.(?:jpg|png|eot|woff2?|ttf|svg)[^"]*"?\)/ do |m|
assert_match /-[0-9a-f]{12,}\./, m
end
end