spec/linner/asset_spec.rb in linner-0.4.4 vs spec/linner/asset_spec.rb in linner-0.4.5
- old
+ new
@@ -12,11 +12,11 @@
@script_asset.logical_path.should == "app.js"
@style_asset.logical_path.should == "app.css"
end
it "should return right digest_path" do
- @dest_asset.digest_path.should == "public/app-cdd1c27fabeede75d12b8adf46e987fd.js"
- @dest_asset.relative_digest_path.should == "/app-cdd1c27fabeede75d12b8adf46e987fd.js"
+ @dest_asset.digest_path.should == "public/app-7fa4c57f63cf67c15299ee2c79be22e0.js"
+ @dest_asset.relative_digest_path.should == "/app-7fa4c57f63cf67c15299ee2c79be22e0.js"
end
it "should be javascript" do
@script_asset.javascript?.should be_true
@style_asset.stylesheet?.should be_true