1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/spec/spec_helper.rb
Andrew Haines eca41450ce Reorganise test integration
Adds compatibility with minitest-rails 0.5
2013-01-12 16:28:37 +00:00

33 lines
1 KiB
Ruby
Executable file

require 'bundler/setup'
require 'ammeter/init'
require 'rails'
require 'action_view'
require 'action_controller'
require 'action_controller/test_case'
Bundler.require
require 'support/active_model'
require 'support/active_record'
require 'support/action_controller'
require 'support/models/product'
require 'support/models/namespaced_product'
require 'support/models/non_active_model_product'
require 'support/models/widget'
require 'support/models/some_thing'
require 'support/models/uninferrable_decorator_model'
require 'support/decorators/product_decorator'
require 'support/decorators/namespaced_product_decorator'
require 'support/decorators/non_active_model_product_decorator'
require 'support/decorators/widget_decorator'
require 'support/decorators/specific_product_decorator'
require 'support/decorators/products_decorator'
require 'support/decorators/some_thing_decorator'
require 'support/decorators/decorator_with_application_helper'
class << Rails
undef application # Avoid silly Rails bug: https://github.com/rails/rails/pull/6429
end