spec/spec_helper.rb in locomotivecms_steam-0.1.1 vs spec/spec_helper.rb in locomotivecms_steam-0.1.2.pre.beta

- old
+ new

@@ -1,22 +1,33 @@ require 'rubygems' require 'bundler/setup' -require 'common' require 'i18n-spec' require 'coveralls' -require_relative '../lib/steam' +begin + require 'pry' +rescue LoadError +end + +require_relative '../lib/locomotive/steam' require_relative 'support' Coveralls.wear! +Locomotive::Steam.configure do |config| + config.mode = :test +end + RSpec.configure do |config| config.include Spec::Helpers config.filter_run focused: true config.run_all_when_everything_filtered = true config.before(:all) { remove_logs } - config.before { reset! } + config.before do + reset! + bootstrap_models + end config.after { reset! } -end \ No newline at end of file +end