Sha256: 5cb900cf81f78191ce88b6971c6c3cc5862c1bcc3b23584df557082656525bad

Contents?: true

Size: 256 Bytes

Versions: 5288

Compression:

Stored size: 256 Bytes

Contents

require 'tmpdir'

RSpec.shared_context "isolated directory" do
  around do |ex|
    Dir.mktmpdir do |tmp_dir|
      Dir.chdir(tmp_dir, &ex)
    end
  end
end

RSpec.configure do |c|
  c.include_context "isolated directory", :isolated_directory => true
end

Version data entries

5,288 entries across 5,203 versions & 108 rubygems

Version Path
cybrid_api_organization_ruby-0.113.118 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_bank_ruby-0.113.118 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_bank_ruby-0.113.117 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_id_ruby-0.113.117 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_organization_ruby-0.113.117 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_bank_ruby-0.113.116 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_id_ruby-0.113.116 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_organization_ruby-0.113.116 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_bank_ruby-0.113.115 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_organization_ruby-0.113.115 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_id_ruby-0.113.115 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_bank_ruby-0.113.114 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_id_ruby-0.113.114 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_organization_ruby-0.113.114 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
moneykit-0.1.5 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_id_ruby-0.113.111 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_organization_ruby-0.113.110 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_id_ruby-0.113.110 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_bank_ruby-0.113.109 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb
cybrid_api_organization_ruby-0.113.109 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb