Sha256: d2fb555f0bb2b59c73db92600a1152d5257def7e92f56fe9962adaca4536fa5e
Contents?: true
Size: 329 Bytes
Versions: 5
Compression:
Stored size: 329 Bytes
Contents
require "spec_helper" describe "Kharon" do it "Can not use exceptions" do Kharon.use_exceptions(false) expect(Kharon.errors_handler).to be_a(Kharon::Handlers::Messages) end it "Can use exceptions" do Kharon.use_exceptions(true) expect(Kharon.errors_handler).to be_a(Kharon::Handlers::Exceptions) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
kharon-1.1.1 | spec/lib/kharon_spec.rb |
kharon-1.1.0 | spec/lib/kharon_spec.rb |
kharon-1.0.0 | spec/lib/kharon_spec.rb |
kharon-0.5.1 | spec/lib/kharon_spec.rb |
kharon-0.5.0 | spec/lib/kharon_spec.rb |