re derive from app application, but use merged layout
This commit is contained in:
@ -3,4 +3,5 @@ Rails.application.routes.draw do
|
||||
|
||||
get ":id" , to: "merged/view#page" , id: :id
|
||||
|
||||
get :destroy_member_session , to: "merged/view#page"
|
||||
end
|
||||
|
@ -5,7 +5,7 @@ class ImagesTest < ActionDispatch::IntegrationTest
|
||||
|
||||
def test_index
|
||||
visit "/merged/images"
|
||||
assert_title page, "Dummy"
|
||||
assert_title page, "Merged"
|
||||
assert_text page, "Pages"
|
||||
end
|
||||
|
||||
|
@ -5,7 +5,7 @@ class PageTest < ActionDispatch::IntegrationTest
|
||||
|
||||
def test_returns_success
|
||||
visit "/merged/pages"
|
||||
assert_title page, "Dummy"
|
||||
assert_title page, "Merged"
|
||||
assert_text page, "Pages"
|
||||
end
|
||||
|
||||
|
@ -5,7 +5,7 @@ class StylesTest < ActionDispatch::IntegrationTest
|
||||
|
||||
def test_returns_success
|
||||
visit "/merged/styles/index"
|
||||
assert_title page, "Dummy"
|
||||
assert_title page, "Merged"
|
||||
assert_text page, "Styles"
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user