Sha256: 036adcd5ddf7ec6a1d3062c2d111967176316ec173e9a4bcde38275864765102

Contents?: true

Size: 292 Bytes

Versions: 7

Compression:

Stored size: 292 Bytes

Contents

require_relative 'required_files'

Given(/^I am on the "(.*?)"$/) do |url|
  session = Capybara::Session.new(:poltergeist)
  session.visit(url)
end

Then(/^I should see the text "(.*?)"$/) do |text|
  session = Capybara::Session.new(:poltergeist)
  session.page.should have_content(text)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bddfire-1.3.1 lib/bddfire/ui_steps.rb
bddfire-1.3.0 lib/bddfire/ui_steps.rb
bddfire-1.2.9 lib/bddfire/ui_steps.rb
bddfire-1.2.4 lib/bddfire/ui_steps.rb
bddfire-1.1.8 lib/bddfire/ui_steps.rb
bddfire-1.1.7 lib/bddfire/ui_steps.rb
bddfire-1.1.6 lib/bddfire/ui_steps.rb