Sha256: bcec9db6e84e0fad15e67787c812d6e94a16de71c4c1887b986d110b8c8de1ff
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 Bytes
Contents
require 'blaze/configuration' describe Blaze::Configuration do REQUIRED = %W(account room_id token) before do REQUIRED.each do |option| subject[option] = "foo" end end REQUIRED.each do |option| it "requires #{option} to be set" do subject[option] = nil expect { subject.validate! }.to raise_error("Please specify the #{option} option") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blaze-0.0.1 | spec/blaze/configuration_spec.rb |