Module: TurboRspec::Matchers

Defined in:
lib/turbo_rspec/matchers.rb,
lib/turbo_rspec/matchers/have_turbo_frame.rb,
lib/turbo_rspec/matchers/have_turbo_stream.rb

Defined Under Namespace

Classes: HaveTurboFrame, HaveTurboStream

Instance Method Summary collapse

Instance Method Details

#have_turbo_frameObject



8
9
10
# File 'lib/turbo_rspec/matchers.rb', line 8

def have_turbo_frame
  HaveTurboFrame.new
end

#have_turbo_streamObject



12
13
14
# File 'lib/turbo_rspec/matchers.rb', line 12

def have_turbo_stream
  HaveTurboStream.new
end