Sha256: 6b1df6de999db3922152bb77d4012eee7ffb02fcbd668a9613d7d9caf856a167
Contents?: true
Size: 519 Bytes
Versions: 1
Compression:
Stored size: 519 Bytes
Contents
module RSpec module LiveControllers module Matchers class EndWithChunk < Base def regexp(reg) /#{reg}$/ end def failure_message "Expect «#{response_body}» to have «#{list_of_matchers.join(' or' )}»" \ "in the end of the stream." end def failure_message_when_negated "Expect «#{response_body}» to have «#{list_of_matchers.join(' or ')}»"\ " in the end 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/end_with_chunk.rb |