Permalink
Browse files

1143: Upgrade Assorted Admin Features from Webrat to Capybara

  • Loading branch information...
rcganesh committed May 2, 2012
1 parent 5d5888f commit b0434635ab2df1fd77acb4fab9855ab6fea3584b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.