spec/spec_helper.rb in stale_fish-1.3.0 vs spec/spec_helper.rb in stale_fish-1.3.1
- old
+ new
@@ -1,19 +1,19 @@
+require 'bundler'
+
Bundler.require(:default, :runtime, :test)
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'stale_fish'
-require 'spec'
-require 'spec/autorun'
+require 'rspec'
+require 'rspec/autorun'
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}
Spec::Runner.configure do |config|
-
config.before :all do
StaleFish.configuration = nil
end
-
end