features/step_definitions/html_attributes.rb in cello-0.0.17 vs features/step_definitions/html_attributes.rb in cello-0.0.19
- old
+ new
@@ -1,13 +1,14 @@
Given /^the textfield has the value "(.*?)"$/ do |value|
- @page.text_field_fill_with(value)
+# require "pry"; binding.pry
+ @browser.text_field_fill_with(value)
@value == value
end
When /^I ask for the "(.*?)" of it element$/ do |att|
- @text_value == @page.text_field_get(att)
+ @text_value == @browser.text_field_get(att)
end
Then /^I should see the value of it$/ do
@text_value.should == @value
- @page.close
+ @browser.close
end