Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pushed new branch: 1_2

git-svn-id: http://bundle-fu.googlecode.com/svn/tags/bundle_fu@58 1db77ec0-6337-0410-9320-454da9aca44f
  • Loading branch information...
commit a6949b3f59aed3ea082627240bed38d7f272b002 2 parents e6accfd + b7ecbb8
timcharper authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/bundle_fu.rb
  2. +1 −1  test/functional/bundle_fu_test.rb
View
2  lib/bundle_fu.rb
@@ -55,7 +55,7 @@ def bundle(options={}, &block)
:css_path => ($bundle_css_path || "/stylesheets/cache"),
:js_path => ($bundle_js_path || "/javascripts/cache"),
:name => ($bundle_default_name || "bundle"),
- :compress => false,
+ :compress => true,
:bundle_fu => ( session[:bundle_fu].nil? ? ($bundle_fu.nil? ? true : $bundle_fu) : session[:bundle_fu] )
}.merge(options)
View
2  test/functional/bundle_fu_test.rb
@@ -33,7 +33,7 @@ def test__bundle_js_files__should_default_to_not_compressed_and_include_override
compressed_content = File.read(public_file("/javascripts/cache/bundle.js"))
purge_cache
- assert default_content.length == uncompressed_content.length, "Should default to uncompressed"
+ assert default_content.length == compressed_content.length, "Should default to compressed"
assert uncompressed_content.length > compressed_content.length, "Didn't compress the content. (:compress => true) #{compressed_content.length}. (:compress => false) #{uncompressed_content.length}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.