default/spec/spec_helper.rb.bns in bones-3.7.3 vs default/spec/spec_helper.rb.bns in bones-3.8.0
- old
+ new
@@ -1,15 +1,17 @@
-require File.expand_path(
- File.join(File.dirname(__FILE__), %w[.. lib <%= name %>]))
+require 'rubygems'
+require 'rspec'
-Spec::Runner.configure do |config|
+require File.expand_path('../../lib/<%= name %>', __FILE__)
+
+RSpec.configure do |config|
# == Mock Framework
#
# RSpec uses it's own mocking framework by default. If you prefer to
# use mocha, flexmock or RR, uncomment the appropriate line:
#
- # config.mock_with :mocha
- # config.mock_with :flexmock
- # config.mock_with :rr
+ # config.mock_framework = :mocha
+ # config.mock_framework = :flexmock
+ # config.mock_framework = :rr
end