Railtie should always be defined here
This commit is contained in:
parent
8ed2f84c2d
commit
103228bd03
|
@ -14,11 +14,9 @@ require 'database_cleaner'
|
||||||
# Simulate a gem providing a subclass of ActiveRecord::Base before the Railtie is loaded.
|
# Simulate a gem providing a subclass of ActiveRecord::Base before the Railtie is loaded.
|
||||||
require 'fake_gem'
|
require 'fake_gem'
|
||||||
|
|
||||||
if defined? ::Rails::Railtie
|
require 'fake_app/rails_app'
|
||||||
require 'fake_app/rails_app'
|
|
||||||
|
|
||||||
require 'rspec/rails'
|
require 'rspec/rails'
|
||||||
end
|
|
||||||
|
|
||||||
# Requires supporting files with custom matchers and macros, etc,
|
# Requires supporting files with custom matchers and macros, etc,
|
||||||
# in ./support/ and its subdirectories.
|
# in ./support/ and its subdirectories.
|
||||||
|
|
Loading…
Reference in New Issue