Registry / testing / rspec-temp-dir

rspec-temp-dir

JSON →
library1.1.2rbrubygemsunverified

Automatically creates a temporary directory for each RSpec example.

gem install rspec-temp_dir
INSTALL
IMPORT
SIG · RSPEC-TEMP-DIR
R
rspec-temp-dir
testingrubyv1.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RSpecTempDir
require 'rspec-temp_dir'

Include the module to get a temporary directory per example.

require 'rspec-temp_dir' RSpec.describe 'my test' do include RSpecTempDir it 'uses temp dir' do expect(temp_dir).to be_a(Pathname) end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
rspec-temp-dir — gem install rspec-temp-dir · libregistry