Skip to content

Commit 7263164

Browse files
committed
fixing spec, again
1 parent 020e1ab commit 7263164

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: spec/test/core/custom_component_spec.rb

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@ module Pages end
1010

1111
module Matestack::Ui::Core end
1212

13+
class SomeLayout < Matestack::Ui::Layout
14+
def response
15+
yield
16+
end
17+
end
18+
1319
class ComponentTestController < ActionController::Base
1420
include Matestack::Ui::Core::Helper
15-
matestack_layout App
21+
matestack_layout SomeLayout
1622

1723
def my_action
1824
render(ExamplePage)

0 commit comments

Comments
 (0)