Sha256: 89e42a98c9d637fb80b01587b251cafab046319b28642bc853bf79ac960b5d69
Contents?: true
Size: 693 Bytes
Versions: 2
Compression:
Stored size: 693 Bytes
Contents
require File.join(File.dirname(__FILE__), 'spec_helper') describe Beeper do it "should be able to configure itself" do client = Beeper.configure do |c| c.api_key = "00000000000" c.subdomain = "testdomain" end client.configured?.should == true end it "should use https by default" do client = Beeper.configure do |c| c.api_key = "00000000000" c.subdomain = "testdomain" end client.use_ssl.should == true end it "should be able to use http" do client = Beeper.configure do |c| c.api_key = "00000000000" c.subdomain = "testdomain" c.use_ssl = false end client.use_ssl.should == false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
beeper-0.1.0 | spec/beeper_spec.rb |
beeper-0.0.6 | spec/beeper_spec.rb |