Sha256: 7d92a4ba911fd57a679e79e5caf471659b9031297aafb26830db0f8f59003486
Contents?: true
Size: 539 Bytes
Versions: 2
Compression:
Stored size: 539 Bytes
Contents
dir = File.dirname(__FILE__) require "#{dir}/environment_fixture_setup" require "#{dir}/rr/expectations/times_called_expectation/times_called_expectation_helper" require "#{dir}/rr/adapters/rr_methods_spec_helper" Spec::Runner.configure do |config| config.mock_with RR::Adapters::Rspec end describe "Swapped Space", :shared => true do before do @original_space = RR::Space.instance RR::Space.instance = RR::Space.new @space = RR::Space.instance end after(:each) do RR::Space.instance = @original_space end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rr-0.4.9 | spec/spec_helper.rb |
rr-0.4.10 | spec/spec_helper.rb |