remove not_to raise_error deprecations
This commit is contained in:
parent
32b9caa08c
commit
c11ddaa770
2 changed files with 3 additions and 3 deletions
|
|
@ -63,7 +63,7 @@ describe Workers::GatherOEmbedData do
|
|||
it 'gracefully handles a deleted post' do
|
||||
expect {
|
||||
Workers::GatherOEmbedData.new.perform(0, @flickr_photo_url)
|
||||
}.to_not raise_error ActiveRecord::RecordNotFound
|
||||
}.to_not raise_error
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ describe Workers::GatherOpenGraphData do
|
|||
@ogsite_image = '/img/something.png'
|
||||
@ogsite_url = 'http://www.we-support-open-graph.com'
|
||||
@ogsite_description = 'Homepage'
|
||||
|
||||
|
||||
@ogsite_body =
|
||||
"<html><head><title>#{@ogsite_title}</title>
|
||||
<meta property=\"og:title\" content=\"#{@ogsite_title}\"/>
|
||||
|
|
@ -63,7 +63,7 @@ describe Workers::GatherOpenGraphData do
|
|||
it 'gracefully handles a deleted post' do
|
||||
expect {
|
||||
Workers::GatherOpenGraphData.new.perform(0, @ogsite_url)
|
||||
}.to_not raise_error ActiveRecord::RecordNotFound
|
||||
}.to_not raise_error
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue