Sha256: 1659c3025bb2fe33f672798efff0cfb541c16fb7b64f40a8f380d1d0ef44de99
Contents?: true
Size: 282 Bytes
Versions: 3
Compression:
Stored size: 282 Bytes
Contents
require "spec_helper" describe "Handlers::Messages" do it "can correctly store several errors" do handler = Kharon::Handlers::Messages.new handler.report_error({key: "value1"}) handler.report_error({key: "value2"}) expect(handler.errors.count).to be(2) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kharon-1.1.1 | spec/lib/kharon/handlers/messages_spec.rb |
kharon-1.1.0 | spec/lib/kharon/handlers/messages_spec.rb |
kharon-1.0.0 | spec/lib/kharon/handlers/messages_spec.rb |