Sha256: 01cebcccf5d28d15744eedcfa469425807e942dbf2184d49abd949bea8023723
Contents?: true
Size: 281 Bytes
Versions: 16
Compression:
Stored size: 281 Bytes
Contents
Then 'the element "$css" should exist' do |css| doc = Nokogiri::HTML(last_response.body) doc.at(css).should be_present end Then 'the element "$css" should have inner text "$text"' do |css, text| doc = Nokogiri::HTML(last_response.body) doc.at(css).text.should == text end
Version data entries
16 entries across 16 versions & 1 rubygems