Sha256: aab4092c3621c0d87706f1837403da2ee876a834bae3dd0fb9a59897e49b6600

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'
describe ProductSpy::Host do
  describe '#make_pk' do
    it "returns nil if no parser matches" do
      host = ProductSpy::Configuration.instance.hosts[:'amazon.de']
      host.make_pk('http://amazon.de/whatever').should be_nil
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
product_spy-0.0.4 spec/host_spec.rb