test/test_jim_bundler.rb in jim-0.1.1 vs test/test_jim_bundler.rb in jim-0.1.2
- old
+ new
@@ -112,10 +112,10 @@
end
context "compress!" do
setup do
- @bundler.expects(:js_compress).returns(@bundler.bundle!(false))
+ @bundler.stubs(:compress_js).returns(@bundler.bundle!(false))
end
should "run through google compressor" do
@bundler.options = {}
bundle = @bundler.compress!