Skip to content
Browse files

1143: Upgrade Assorted Admin Features from Webrat to Capybara

  • Loading branch information...
1 parent 5d5888f commit b0434635ab2df1fd77acb4fab9855ab6fea3584b @rcganesh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 capybara_features/step_definitions/web_steps.rb
View
2 capybara_features/step_definitions/web_steps.rb
@@ -9,7 +9,7 @@
module WithinHelpers
def with_scope(locator)
- locator ? within(locator) { yield } : yield
+ locator ? within(:css, locator) { yield } : yield
end
end
World(WithinHelpers)

0 comments on commit b043463

Please sign in to comment.
Something went wrong with that request. Please try again.