spec/middleware/selective_errors_spec.rb in faraday-conductivity-0.3.0 vs spec/middleware/selective_errors_spec.rb in faraday-conductivity-0.3.1
- old
+ new
@@ -1,7 +1,5 @@
-require 'spec_helper'
-
-describe Faraday::Conductivity::SelectiveErrors do
+RSpec.describe Faraday::Conductivity::SelectiveErrors do
subject(:request_headers) { response.env[:request_headers] }
it "raises an exception if the error is inside the :on argument" do
apply_selective_errors on: 407..409