Sha256: d54d273743437dfcc45f3343c44ea352d55121f6c88ab1687e74c1859968ad37

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

require 'spec_helper'

describe Fletcher::Item::Amazon do
  describe "parse" do 
    
    context "with valid data" do
      it "should save the item's name" do 
        item = described_class.new
        item.parse Fletcher::Data.read(Factory(:amazon_item).url)    
        item.x = "1"
        puts item.inspect
        item.name.should_not be_nil
      end       
    end
  end
end  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fletcher-0.1.0 spec/lib/fletcher/item/amazon_spec.rb