Registry / testing / rspec-tag-matchers

rspec-tag-matchers

JSON →
library1.0.0rbrubygemsunverified

Provides have_tag() matcher for RSpec using Nokogiri, without Rails dependency.

gem install rspec_tag_matchers
INSTALL
IMPORT
SIG · RSPEC-TAG-MATCHERS
R
rspec-tag-matchers
testingrubyv1.0.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.

RspecTagMatchers
require 'rspec_tag_matchers'

Test HTML content with CSS selectors.

require 'rspec_tag_matchers' describe 'view' do it 'has a div' do html = '<div id="main"></div>' expect(html).to have_tag('div#main') end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
rspec-tag-matchers — gem install rspec-tag-matchers · libregistry