Loading features/step_definitions/mobile_steps.rb +2 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ end Then /^the aspect dropdown within "([^"]*)" should be labeled "([^"]*)"/ do |selector, label| within(selector) do current_scope.should have_css("option.list_cover", :text => label) current_scope.should have_no_css("option.list_cover", text: "updating...") current_scope.should have_css("option.list_cover", text: label) end end Loading
features/step_definitions/mobile_steps.rb +2 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ end Then /^the aspect dropdown within "([^"]*)" should be labeled "([^"]*)"/ do |selector, label| within(selector) do current_scope.should have_css("option.list_cover", :text => label) current_scope.should have_no_css("option.list_cover", text: "updating...") current_scope.should have_css("option.list_cover", text: label) end end