lib/airborne.rb in airborne-0.3.2 vs lib/airborne.rb in airborne-0.3.3
- old
+ new
@@ -13,14 +13,17 @@
config.add_setting :match_actual_default, default: false
config.add_setting :headers
config.add_setting :rack_app
config.add_setting :requester_type
config.add_setting :requester_module
+ config.add_setting :verify_ssl, default: true
config.before do |example|
config.match_expected = example.metadata[:match_expected].nil? ?
Airborne.configuration.match_expected_default? : example.metadata[:match_expected]
config.match_actual = example.metadata[:match_actual].nil? ?
Airborne.configuration.match_actual_default? : example.metadata[:match_actual]
+ config.verify_ssl = example.metadata[:verify_ssl].nil? ?
+ Airborne.configuration.verify_ssl? : example.metadata[:verify_ssl]
end
# Include last since it depends on the configuration already being added
config.include Airborne
end