Sha256: fb9f2ed2e48ce07df82c6377cb410f619c86f2a17fbce0b5a4a112a1b01d1bab
Contents?: true
Size: 753 Bytes
Versions: 2
Compression:
Stored size: 753 Bytes
Contents
# coding: utf-8 describe Hallon do describe "VERSION" do specify { Hallon::VERSION.should be_a String } end describe "API_VERSION" do specify { Hallon::API_VERSION.should == 12 } end describe "API_BUILD" do specify { Hallon::API_BUILD.should be_a String } end describe "URI" do example_uris.keys.each do |uri| specify(uri) { Hallon::URI.match(uri)[0].should eq uri } end end describe ".load_timeout" do it "should raise an error given a negative timeout" do expect { Hallon.load_timeout = -1 }.to raise_error(ArgumentError) end it "should allow setting and retrieving the value" do expect { Hallon.load_timeout = 0.2 }. to change { Hallon.load_timeout } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hallon-0.18.0 | spec/hallon/hallon_spec.rb |
hallon-0.17.0 | spec/hallon/hallon_spec.rb |