Registry / testing / rspec-match-fuzzy

rspec-match-fuzzy

JSON →
library0.2.0rbrubygemsunverified

String matcher to ignore whitespace in RSpec expectations.

gem install rspec-match_fuzzy
INSTALL
IMPORT
SIG · RSPEC-MATCH-FUZZY
R
rspec-match-fuzzy
testingrubyv0.2.0
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::MatchFuzzy
require 'rspec/match_fuzzy'

Use match_fuzzy to compare strings ignoring whitespace differences.

require 'rspec/match_fuzzy' RSpec.describe 'example' do it 'matches ignoring whitespace' do expect('hello world').to match_fuzzy('hello world') end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
6
Amazon
1
Resources