Skip to content

Commit

Permalink
fix dotsub spec test for url. fixes #55
Browse files Browse the repository at this point in the history
  • Loading branch information
jzeta committed Sep 10, 2013
1 parent 60c6287 commit 0e515a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/onebox/engine/dotsub_onebox.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DotsubOnebox

def data
{
url: raw.metadata[:url].first[:_value],
url: @url,
title: raw.title,
image: raw.images.first,
description: raw.description,
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/onebox/engine/dotsub_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "spec_helper"

describe Onebox::Engine::DotsubOnebox do
let(:link) { "http://dotsub.com" }
let(:link) { "http://dotsub.com/view/665bd0d5-a9f4-4a07-9d9e-b31ba926ca78" }
before do
fake(link, response("dotsub.response"))
end
Expand Down

0 comments on commit 0e515a8

Please sign in to comment.