Sha256: 9c38fc20e06544bde0d16d80fef1a81c2306b6270a11aeb966691c6cdeda2873

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 Bytes

Contents

Given /^I open the (.+ page)(.*)$/ do |page, args|
  self.page_model = PageModels.create(page, args)
  page_model.open!
end

Then /^I should see the (.+ page)(.*)$/ do |page, args|
  self.page_model = PageModels.create(page, args)
  page_model.verify!
end

module PageModels
  module CucumberIntegration
    attr_accessor :page_model
  end
end
World(PageModels::CucumberIntegration)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pagemodels-0.1.1 lib/page_models/integration/cucumber.rb
pagemodels-0.1.0 lib/page_models/integration/cucumber.rb