spec/lib/onebox_spec.rb in onebox-1.2.9 vs spec/lib/onebox_spec.rb in onebox-1.3.0
- old
+ new
@@ -5,10 +5,10 @@
before do
fake("http://www.amazon.com", response("amazon"))
end
describe ".preview" do
- let(:url) { "http://www.amazon.com" }
+ let(:url) { "http://www.amazon.com/product" }
it "creates a cache that responds as expected" do
preview = Onebox.preview(url)
cache = preview.cache
expect(cache).to respond_to(:key?, :store, :fetch)
end