features/step_definitions/video_steps.rb in page-object-1.1.0 vs features/step_definitions/video_steps.rb in page-object-1.1.1

- old
+ new

@@ -1,15 +1,15 @@ When /^I retrieve the video element$/ do - @element = @page.video_id_element + @element = @avpage.video_id_element end When /^I search for the video element by "([^\"]*)"$/ do |how| - @element = @page.send "video_#{how}_element" + @element = @avpage.send "video_#{how}_element" end When /^I search for the video element by "([^\"]*)" and "([^\"]*)"$/ do |param1, param2| - @element = @page.send "video_#{param1}_#{param2}_element" + @element = @avpage.send "video_#{param1}_#{param2}_element" end Then /^I should know the video is not autoplay$/ do @element.should_not be_autoplay end