Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 389 Bytes
module RSpec
module Rails
module Application
RSpec.configuration.add_setting :application, :default => ::Rails.application
unless RSpec::Rails.at_least_rails_3_1?
class << RSpec.configuration
def application=(*)
raise 'Setting the application is only supported on Rails 3.1 and above.'
end
end
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.