Skip to content

Commit 020e1ab

Browse files
committed
fixing spec
1 parent 24a3f0f commit 020e1ab

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: spec/test/core/base/component/view_context_access_spec.rb

+8-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
describe "Component", type: :feature, js: true do
55

66
before :all do
7+
8+
class SomeLayout < Matestack::Ui::Layout
9+
def response
10+
yield
11+
end
12+
end
13+
714
class ComponentTestController < ActionController::Base
815
include Matestack::Ui::Core::Helper
9-
matestack_layout App
16+
matestack_layout SomeLayout
1017

1118
def my_action
1219
render ExamplePage

0 commit comments

Comments
 (0)