Add within_content_body system test helper
This commit is contained in:
parent
99af52b478
commit
c883f02161
2 changed files with 14 additions and 6 deletions
|
@ -41,4 +41,8 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
|
|||
def within_sidebar(&)
|
||||
within("#sidebar_content", &)
|
||||
end
|
||||
|
||||
def within_content_body(&)
|
||||
within("#content > .content-body", &)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue