Skip to content

Commit

Permalink
fixing spec, again
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasjabari committed Feb 11, 2022
1 parent 020e1ab commit 7263164
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/test/core/custom_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ module Pages end

module Matestack::Ui::Core end

class SomeLayout < Matestack::Ui::Layout
def response
yield
end
end

class ComponentTestController < ActionController::Base
include Matestack::Ui::Core::Helper
matestack_layout App
matestack_layout SomeLayout

def my_action
render(ExamplePage)
Expand Down

0 comments on commit 7263164

Please sign in to comment.