projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make preferences page editable without clicking 'Edit Preferences'
[rails.git]
/
test
/
application_system_test_case.rb
diff --git
a/test/application_system_test_case.rb
b/test/application_system_test_case.rb
index 63c8090a83d735929ab1421fcafb0d935dc813aa..d2c3d5196ab9b5ccbcae32aaaed086e03650d7f5 100644
(file)
--- a/
test/application_system_test_case.rb
+++ b/
test/application_system_test_case.rb
@@
-38,7
+38,7
@@
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
click_on "Logout", :match => :first
end
- def within_sidebar(&
block
)
- within
"#sidebar_content", &block
+ def within_sidebar(&)
+ within
("#sidebar_content", &)
end
end