Sha256: 6355ad2e444c7e86f1d3f05f73835e3f9015694459031dad1ff3a0e5df8aa178
Contents?: true
Size: 615 Bytes
Versions: 3
Compression:
Stored size: 615 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Asset do it "should spawn!" do as = Asset.new :js, "cool", "http://cool.js" as.should be_instance_of Asset end describe "Instantiated" do let (:as) { Asset.new :js, "sweet", "http://candy.js" } it "should have filename" do as.filename.should eql("sweet.js") end it "should have fullpath" do as.fullpath.should eql("public/javascripts/sweet.js") end it "should detect version" do # as.instance_variable_set :data, # as.find_version.should eql("1.6") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
assetify-0.3.0 | spec/assetify/asset_spec.rb |
assetify-0.2.2 | spec/assetify/asset_spec.rb |
assetify-0.2.1 | spec/assetify/asset_spec.rb |