Sha256: e3104d2dd818575a9c4102cd3f7d64dde39d180e38ebfacb8e229a2aa2f90709

Contents?: true

Size: 442 Bytes

Versions: 2

Compression:

Stored size: 442 Bytes

Contents

require 'spec_helper'

describe Fletcher::Model::Ebay 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(:ebay).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

2 entries across 2 versions & 1 rubygems

Version Path
fletcher-0.4.1 spec/lib/fletcher/models/ebay_spec.rb
fletcher-0.4.0 spec/lib/fletcher/models/ebay_spec.rb