assets_booster 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,9 +17,7 @@ module AssetsBooster
|
|
17
17
|
|
18
18
|
describe "with the inline option enabled" do
|
19
19
|
it "should return a javascript tag with inline javascript" do
|
20
|
-
|
21
|
-
subject.stub(:assets).and_return(assets)
|
22
|
-
subject.should_receive(:read).with(assets).and_return("javascript code")
|
20
|
+
subject.should_receive(:read).with().and_return("javascript code")
|
23
21
|
@view.should_receive(:javascript_tag).with("javascript code")
|
24
22
|
subject.view_helper(@view, :inline => true)
|
25
23
|
end
|
@@ -17,9 +17,7 @@ module AssetsBooster
|
|
17
17
|
|
18
18
|
describe "with the inline option enabled" do
|
19
19
|
it "should return a style tag with inline css" do
|
20
|
-
|
21
|
-
subject.stub(:assets).and_return(assets)
|
22
|
-
subject.should_receive(:read).with(assets).and_return("css code")
|
20
|
+
subject.should_receive(:read).with().and_return("css code")
|
23
21
|
@view.should_receive(:style_tag).with("css code")
|
24
22
|
subject.view_helper(@view, :inline => true)
|
25
23
|
end
|