Sha256: 5bddbe9269d5b51f8b0745fe48479fac91ea73a004c192461ac1eb7de1f73873
Contents?: true
Size: 626 Bytes
Versions: 4
Compression:
Stored size: 626 Bytes
Contents
require 'rails/all' module RSpecRails class Application < ::Rails::Application end end require 'rspec/rails' require 'ammeter/init' Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} class RSpec::Core::ExampleGroup def self.run_all(reporter=nil) run(reporter || RSpec::Mocks::Mock.new('reporter').as_null_object) end end RSpec.configure do |config| config.before(:each) do @real_world = RSpec.world RSpec.instance_variable_set(:@world, RSpec::Core::World.new) end config.after(:each) do RSpec.instance_variable_set(:@world, @real_world) end config.order = :random end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rspec-rails-2.8.1 | spec/spec_helper.rb |
rspec-rails-2.8.0 | spec/spec_helper.rb |
rspec-rails-2.8.0.rc2 | spec/spec_helper.rb |
rspec-rails-2.8.0.rc1 | spec/spec_helper.rb |