spec/dummy/config/application.rb in draper-1.0.0 vs spec/dummy/config/application.rb in draper-1.1.0

- old
+ new

@@ -1,12 +1,17 @@ require File.expand_path('../boot', __FILE__) +def attempt_require(file) + require file +rescue LoadError +end + require 'rails/all' +require 'draper' +attempt_require 'mongoid' +attempt_require 'devise' -Bundler.require -require "draper" - module Dummy class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. @@ -60,5 +65,6 @@ # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test end end +ActiveRecord::Migration.verbose = false