mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user