mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +00:00
remove unnecessary expectation lines
This commit is contained in:
parent
d5df1db3c4
commit
2374f3e8ac
@ -35,7 +35,6 @@ describe InlineOneboxer do
|
||||
expect(result).to be_present
|
||||
|
||||
cached = InlineOneboxer.cache_lookup(topic.url)
|
||||
expect(cached).to be_present
|
||||
expect(cached[:url]).to eq(topic.url)
|
||||
expect(cached[:title]).to eq(topic.title)
|
||||
end
|
||||
@ -51,7 +50,6 @@ describe InlineOneboxer do
|
||||
expect(result).to be_present
|
||||
|
||||
cached = InlineOneboxer.cache_lookup(url)
|
||||
expect(cached).to be_present
|
||||
expect(cached[:url]).to eq(url)
|
||||
expect(cached[:title]).to be_nil
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user