spec/lib/helpers.rb in loggability-0.6.0 vs spec/lib/helpers.rb in loggability-0.6.1
- old
+ new
@@ -18,17 +18,23 @@
SimpleCov.start do
add_filter 'spec'
end
end
+begin
+ require 'configurability'
+rescue LoadError
+end
require 'loggability' unless defined?( Loggability )
require 'loggability/spechelpers'
### Mock with RSpec
RSpec.configure do |c|
c.mock_with( :rspec )
+ c.treat_symbols_as_metadata_keys_with_true_values = true
c.include( Loggability::SpecHelpers )
+ c.filter_run_excluding( :configurability ) unless defined?( Configurability )
end