class RSpec::LiveControllers::Matchers::HaveChunk

Public Instance Methods

failure_message() click to toggle source
# File lib/rspec/live_controllers/matchers/have_chunk.rb, line 9
def failure_message
  "Expect «#{response_body}» to have chunk: «#{list_of_matchers.join(' or ')}»."
end
failure_message_when_negated() click to toggle source
# File lib/rspec/live_controllers/matchers/have_chunk.rb, line 13
def failure_message_when_negated
  "Expect «#{response_body}» not to have chunk: «#{list_of_matchers.join(' or ')}»."
end
regexp(reg) click to toggle source
# File lib/rspec/live_controllers/matchers/have_chunk.rb, line 5
def regexp(reg)
  /#{reg}/
end