Skip to content

Commit f93c1c1

Browse files
committed
Make test pass - behavior slightly changed
about Performing a GET /{url}, read https://developers.facebook.com/docs/graph-api/changelog#v2_10_changes when we use version 2.10 this test might not be needed.
1 parent 28f004e commit f93c1c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/pages/find_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
describe 'Page' do
55
let(:existing_page_id) { '1191441824276882' }
66
let(:unknown_page_id) { 'does-not-exist' }
7-
let(:website_url) { 'https://www.facebook.com/pg/FoxMovies/videos/?ref=page_internal' }
7+
let(:website_url) { 'http://www.imdb.com/title/tt2015381/' }
88

99
describe '.find(page_id)' do
1010
let(:page) { Funky::Page.find(page_id) }
@@ -34,7 +34,7 @@
3434
context 'given a website url was passed' do
3535
let(:page_id) { website_url }
3636

37-
it { expect { page }.to raise_error Funky::ContentNotFound }
37+
it { expect { page }.to raise_error(Funky::ContentNotFound) }
3838
end
3939
end
4040
end

0 commit comments

Comments
 (0)