features/support/selectors.rb in yousty-activeadmin-1.0.4.pre vs features/support/selectors.rb in yousty-activeadmin-1.0.5.pre
- old
+ new
@@ -25,10 +25,10 @@
when "index grid"
[:css, "table.index_grid"]
when /^the "([^"]*)" sidebar$/
- [:css, "##{$1.gsub(" ", '').underscore}_sidebar_section"]
+ [:css, "##{$1.tr(" ", '').underscore}_sidebar_section"]
# This allows you to provide a quoted selector as the scope
# for "within" steps as was previously the default for the
# web steps:
when /^"(.+)"$/