spec/lib/helpers.rb in configurability-1.0.2 vs spec/lib/helpers.rb in configurability-1.0.3
- old
+ new
@@ -8,10 +8,12 @@
libdir = basedir + "lib"
$LOAD_PATH.unshift( libdir.to_s ) unless $LOAD_PATH.include?( libdir.to_s )
}
+require 'rspec'
+
require 'logger'
require 'erb'
require 'yaml'
require 'configurability'
@@ -130,8 +132,13 @@
end
end
end
+
+RSpec.configure do |config|
+ config.mock_with( :rspec )
+ config.include( Configurability::SpecHelpers )
+end
# vim: set nosta noet ts=4 sw=4: