FIX: Reference example.com instead of somesite.com in examples

* somesite.com actually exists...
* example.com should be used in examples and is harmless to visit
This commit is contained in:
Michael Brown
2018-06-19 10:25:10 -04:00
parent dbcbd8d939
commit ae5d255f83
18 changed files with 22 additions and 22 deletions

View File

@ -69,7 +69,7 @@ describe IncomingLink do
end
it "does nothing if referer is same as host" do
add(post_id: 1, host: 'somesite.com', referer: 'http://somesite.com')
add(post_id: 1, host: 'example.com', referer: 'http://example.com')
expect(IncomingLink.count).to eq 0
end