spec/spec_helper.rb in meta_presenter-0.2.4 vs spec/spec_helper.rb in meta_presenter-1.0.0

- old
+ new

@@ -1,24 +1,20 @@ -# spec coverage -require 'coveralls' -Coveralls.wear! - # debug tool -require "pry" +require 'pry' # main lib module -require "meta_presenter" +require 'meta_presenter' # support files -Dir["#{__dir__}/support/*.rb"].each {|file| require file } +Dir["#{__dir__}/support/*.rb"].each { |file| require file } # Simulate the Rails env. # Instead of loading the Rails environment, we stub the bare amount # and load from spec/support/app as if it were a Rails app begin # mount app dir tree - Dir["#{__dir__}/support/app/**/*.rb"].each {|file| require file } + Dir["#{__dir__}/support/app/**/*.rb"].each { |file| require file } # mock Rails module Rails end @@ -26,6 +22,6 @@ RSpec.configure do |config| config.before do allow(Rails).to receive(:root).and_return(File.join(__dir__, 'support')) end end -end \ No newline at end of file +end