Sha256: 67f6621826d2f94e13d393474632346b97681df8c41e23e8085c2628a9b0da21

Contents?: true

Size: 113 Bytes

Versions: 7

Compression:

Stored size: 113 Bytes

Contents

def field_should_have(field, text)
  page.should have_xpath(".//input[@id='#{field}' and @value='#{text}']")
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dejavu-0.3.1 spec/support/fields.rb
dejavu-0.3.0 spec/support/fields.rb
dejavu-0.2.1 spec/support/fields.rb
dejavu-0.2.0 spec/support/fields.rb
dejavu-0.1.2 spec/support/fields.rb
dejavu-0.1.1 spec/support/fields.rb
dejavu-0.1.0 spec/support/fields.rb