Module: RSpec::LiveControllers::Matchers

Defined in:
lib/rspec/live_controllers/matchers.rb,
lib/rspec/live_controllers/matchers/base.rb,
lib/rspec/live_controllers/matchers/have_chunk.rb,
lib/rspec/live_controllers/matchers/end_with_chunk.rb,
lib/rspec/live_controllers/matchers/start_from_chunk.rb

Defined Under Namespace

Classes: Base, EndWithChunk, HaveChunk, StartFromChunk

Instance Method Summary collapse

Instance Method Details

#end_with_chunk(actual) ⇒ Object



14
15
16
# File 'lib/rspec/live_controllers/matchers.rb', line 14

def end_with_chunk(actual)
  RSpec::LiveControllers::Matchers::EndWithChunk.new(actual)
end

#have_chunk(actual) ⇒ Object



18
19
20
# File 'lib/rspec/live_controllers/matchers.rb', line 18

def have_chunk(actual)
  RSpec::LiveControllers::Matchers::HaveChunk.new(actual)
end

#start_from_chunk(actual) ⇒ Object



10
11
12
# File 'lib/rspec/live_controllers/matchers.rb', line 10

def start_from_chunk(actual)
  RSpec::LiveControllers::Matchers::StartFromChunk.new(actual)
end