features/step_definations/section_steps.rb in druid-ts-1.2.5 vs features/step_definations/section_steps.rb in druid-ts-1.2.6
- old
+ new
@@ -264,8 +264,8 @@
When(/^I have a page section$/) do
@section = @page.container
end
Then(/^methods called on the section are passed to the root if missing$/) do
- expect { @section.visible? }.not_to raise_error
- expect(@section.visible?).to be true
+ expect { @section.present? }.not_to raise_error
+ expect(@section.present?).to be true
end