spec/http_spec.rb in alephant-broker-3.5.5 vs spec/http_spec.rb in alephant-broker-3.6.0
- old
+ new
@@ -67,11 +67,11 @@
end
specify do
expect do
subject.load component_meta
- end.to raise_error
+ end.to raise_error(RuntimeError)
end
end
context "and HTTP request 404s" do
before :each do
@@ -81,10 +81,10 @@
end
specify do
expect do
subject.load component_meta
- end.to raise_error
+ end.to raise_error(Alephant::Broker::Errors::ContentNotFound)
end
end
end
end
end