Sha256: 776a9b55bde449ec00d9a04eb194c527039930e36930ba9150f19cd320f7412f

Contents?: true

Size: 538 Bytes

Versions: 2

Compression:

Stored size: 538 Bytes

Contents

Given(/^the alert message is "(.*?)"$/) do |text|
  on_view(WebObjects).generate_alert(text)
end

Given(/^the confirm message is "(.*?)"$/) do |text|
  on_view(WebObjects).generate_confirm(text)
end

Given(/^the prompt message is "(.*?)" and the default value is "(.*?)"$/) do |text, value|
  on_view(WebObjects).generate_prompt(text, value)
end

Given(/^the year for stardate "(.*?)" is "(.*?)"$/) do |value, year|
  on_view(Stardate).calculator
  result = on(Stardate).calculate_tng("51887.2")
  result.include? year
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
symbiont-0.2.1 specs/steps/enclosers_steps.rb
symbiont-0.2.0 specs/steps/enclosers_steps.rb