Registry / testing / rspec-eventually

rspec-eventually

JSON →
library0.2.2rbrubygemsunverified

Enhances RSpec DSL with `eventually` and `eventually_not` matchers for asynchronous expectations.

gem install rspec-eventually
INSTALL
IMPORT
SIG · RSPEC-EVENTUALLY
R
rspec-eventually
testingrubyv0.2.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.

RSpec::Eventually
require 'rspec/eventually'

Uses the eventually matcher to test asynchronous code

require 'rspec/eventually' RSpec.describe 'async' do it 'eventually succeeds' do expect { async_operation }.to eventually be_truthy end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
rspec-eventually — gem install rspec-eventually · libregistry