Sha256: 0b81172e4447bfa2f347aa328a21d49c50fc8a0bcd4ff33fb1c797b339c74aa4
Contents?: true
Size: 525 Bytes
Versions: 1
Compression:
Stored size: 525 Bytes
Contents
module RSpec module LiveControllers module Matchers class StartFromChunk < Base def regexp(reg) /^#{reg}/ end def failure_message "Expect «#{response_body}» to have «#{list_of_matchers.join(' or ')}»"\ " in the start of the stream." end def failure_message_when_negated "Expect «#{response_body}» to have «#{list_of_matchers.join(' or ')}»"\ " in the start of the stream." end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-live_controllers-0.0.1 | lib/rspec/live_controllers/matchers/start_from_chunk.rb |