class RSpec::LiveControllers::Matchers::StartFromChunk

Public Instance Methods

failure_message() click to toggle source
# File lib/rspec/live_controllers/matchers/start_from_chunk.rb, line 9
def failure_message
  "Expect «#{response_body}» to have «#{list_of_matchers.join(' or ')}»"\
  " in the start of the stream."
end
failure_message_when_negated() click to toggle source
# File lib/rspec/live_controllers/matchers/start_from_chunk.rb, line 14
def failure_message_when_negated
  "Expect «#{response_body}» to have «#{list_of_matchers.join(' or ')}»"\
  " in the start of the stream."
end
regexp(reg) click to toggle source
# File lib/rspec/live_controllers/matchers/start_from_chunk.rb, line 5
def regexp(reg)
  /^#{reg}/
end