Browse files

Fix brittle size assertion

  • Loading branch information...
1 parent 57bd233 commit 8291d2c3251924d7b661954f7fca22e03a349ec6 @josh josh committed Apr 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_manifest.rb
View
2 test/test_manifest.rb
@@ -95,7 +95,7 @@ def teardown
data = JSON.parse(File.read(@manifest.path))
assert data['files'][digest_path]
assert_equal "application.js", data['files'][digest_path]['logical_path']
- assert_equal 237, data['files'][digest_path]['size']
+ assert data['files'][digest_path]['size'] > 230
assert_equal digest_path, data['assets']['application.js']
end

0 comments on commit 8291d2c

Please sign in to comment.