spec/spec_helper.rb in wifly-0.0.5 vs spec/spec_helper.rb in wifly-1.0.0
- old
+ new
@@ -3,9 +3,13 @@
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
require 'wifly'
+require 'pry'
+
+# If you set WIFLY_IP, a special "real" test will run against your WiFly.
+WIFLY_IP = ENV['WIFLY_IP'] || nil
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.filter_run :focus