features/step_definations/div_steps.rb in druid-ts-1.1.1 vs features/step_definations/div_steps.rb in druid-ts-1.1.2
- old
+ new
@@ -20,5 +20,9 @@
When(/^I get the text from a div while the script is executing$/) do
@text = @page.div_element(:id => 'div_id').text
end
+
+Then(/^I should see that the div exists$/) do
+ expect(@page.div_id?).to be true
+end