use block prefix in step definitions

pull/2982/head
Florian Kraft 10 years ago
parent 48ff997908
commit 7bd31aeb89
No known key found for this signature in database
GPG Key ID: 786CD08D94605A9E
  1. 2
      features/step_definitions/my_page_steps.rb

@ -40,7 +40,7 @@ Then /^I should see the dropdown of available widgets$/ do
end
Then(/^I should see the widget "([^"]*)"$/) do |arg|
page.find("#widget_#{arg}").should_not be_nil
page.find("#block_#{arg}").should_not be_nil
end
Then /^"(.+)" should( not)? be disabled in the my page available widgets drop down$/ do |widget_name, neg|

Loading…
Cancel
Save