class RSpec::LiveControllers::Matchers::EndWithChunk

Public Instance Methods

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