remove unnecessary expectation lines

This commit is contained in:
Vinoth Kannan 2018-11-13 16:52:08 +05:30
parent d5df1db3c4
commit 2374f3e8ac
1 changed files with 0 additions and 2 deletions

View File

@ -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