2011-06-30 18:19:48 -04:00
|
|
|
require 'bundler/setup'
|
2012-05-09 18:58:19 -04:00
|
|
|
require 'ammeter/init'
|
2012-04-28 15:26:57 -04:00
|
|
|
require 'rails'
|
|
|
|
|
2012-07-16 12:43:29 -04:00
|
|
|
require 'action_view'
|
2012-08-28 23:39:41 -04:00
|
|
|
require 'action_controller'
|
|
|
|
require 'action_controller/test_case'
|
|
|
|
|
2012-11-08 20:02:54 -05:00
|
|
|
Bundler.require
|
2012-08-28 23:39:41 -04:00
|
|
|
|
2012-11-20 19:57:35 -05:00
|
|
|
require './spec/support/active_model'
|
2012-11-08 20:02:54 -05:00
|
|
|
require './spec/support/active_record'
|
|
|
|
require './spec/support/action_controller'
|
|
|
|
|
|
|
|
require './spec/support/models/product'
|
|
|
|
require './spec/support/models/namespaced_product'
|
|
|
|
require './spec/support/models/non_active_model_product'
|
|
|
|
require './spec/support/models/widget'
|
|
|
|
require './spec/support/models/some_thing'
|
|
|
|
require './spec/support/models/uninferrable_decorator_model'
|
|
|
|
|
|
|
|
require './spec/support/decorators/product_decorator'
|
|
|
|
require './spec/support/decorators/namespaced_product_decorator'
|
|
|
|
require './spec/support/decorators/non_active_model_product_decorator'
|
|
|
|
require './spec/support/decorators/widget_decorator'
|
|
|
|
require './spec/support/decorators/specific_product_decorator'
|
|
|
|
require './spec/support/decorators/products_decorator'
|
|
|
|
require './spec/support/decorators/some_thing_decorator'
|
|
|
|
require './spec/support/decorators/decorator_with_application_helper'
|
2012-08-28 23:39:41 -04:00
|
|
|
|
|
|
|
class << Rails
|
|
|
|
undef application # Avoid silly Rails bug: https://github.com/rails/rails/pull/6429
|
|
|
|
end
|