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_id_ruby-0.113.91 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.91 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.90 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.90 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.90 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.89 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.89 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.89 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.88 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.88 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.88 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.86 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.86 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.86 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.85 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.85 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.85 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.84 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.84 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.84 vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib/rspec/support/spec/with_isolated_directory.rb