Sha256: 5da5c57097f8e24f52532c4e56fd06b79e3793fc1ce20b4acccd10f1299fee54
Contents?: true
Size: 508 Bytes
Versions: 1
Compression:
Stored size: 508 Bytes
Contents
describe "Walt::ImageAsset" do describe "#initialize" do it "should work with multi params" do asset = Walt::ImageAsset.new(url: "derp", id: "blue") asset.url.should == "derp" asset.id.should == "blue" end end describe "#view" do it "should create remote UIImageView" do asset = Walt::ImageAsset.new(url: "http://upload.wikimedia.org/wikipedia/commons/3/30/Googlelogo.png", id: "google") asset.view.af_imageRequestOperation.should.not == nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
walt-0.1 | spec/asset/image_spec.rb |