README.md in onebox-1.8.77 vs README.md in onebox-1.8.78
- old
+ new
@@ -130,11 +130,11 @@
describe Onebox::Engine::NameOnebox do
let(:link) { "http://example.com" }
let(:html) { described_class.new(link).to_html }
before do
- fake(link, response("name.response"))
+ fake(link, response("name"))
end
it "has the video's title" do
expect(html).to include("title")
end
@@ -168,10 +168,10 @@
```
5. Create new fixture from HTML response for your FakeWeb request(s)
``` bash
- curl --output spec/fixtures/oneboxname.response -L -X -GET http://example.com
+ curl --output spec/fixtures/oneboxname.response -L -X GET http://example.com
```
6. Require in Engine module
``` ruby