Sha256: e8120c64b3e6d60b1598c7cc012636793e2fb9a2066df4107a26086b83db44da
Contents?: true
Size: 462 Bytes
Versions: 3
Compression:
Stored size: 462 Bytes
Contents
require 'spec_helper' describe Fletcher::Model::Thinkgeek do describe "parse" do context "with valid data" do it "should return correct model info" do model = described_class.new model.parse Fletcher::Data.read(Factory(:thinkgeek).url) model.name.should_not be_nil model.price.should_not be_nil model.image.should_not be_nil end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fletcher-0.4.2 | spec/lib/fletcher/models/thinkgeek_spec.rb |
fletcher-0.4.1 | spec/lib/fletcher/models/thinkgeek_spec.rb |
fletcher-0.4.0 | spec/lib/fletcher/models/thinkgeek_spec.rb |