Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonne Haß <me@mrzyx.de>2014-01-06 23:18:05 +0400
committerJonne Haß <me@mrzyx.de>2014-01-13 15:25:38 +0400
commitc11ddaa770d9789e8ee1dfcc91a5e62501c76c8b (patch)
tree9ea1aabf9a52984643b2492a87b459509af4dd06 /spec/workers
parent32b9caa08cb2ac75e07e8a9503ff676c784ddbed (diff)
remove not_to raise_error deprecations
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/gather_o_embed_data_spec.rb2
-rw-r--r--spec/workers/gather_open_graph_data_spec.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/workers/gather_o_embed_data_spec.rb b/spec/workers/gather_o_embed_data_spec.rb
index 9dc2710ac..361502c0e 100644
--- a/spec/workers/gather_o_embed_data_spec.rb
+++ b/spec/workers/gather_o_embed_data_spec.rb
@@ -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
diff --git a/spec/workers/gather_open_graph_data_spec.rb b/spec/workers/gather_open_graph_data_spec.rb
index 66914e005..c7a2a8f2b 100644
--- a/spec/workers/gather_open_graph_data_spec.rb
+++ b/spec/workers/gather_open_graph_data_spec.rb
@@ -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