Sha256: d6d874f992f520429d330d68a078c42237a7fb11196217bf591bce82a8fbf110

Contents?: true

Size: 282 Bytes

Versions: 12

Compression:

Stored size: 282 Bytes

Contents

require "spec_helper"
require "baton"

describe Baton do
  describe ".configure" do
    it "will allow configuration by passing a block in" do
      Baton.configure do |c|
        c.pusher_key = "foo"
      end
      Baton.configuration.pusher_key.should eq("foo")
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
baton-0.5.4 spec/baton/baton_spec.rb
baton-0.5.2 spec/baton/baton_spec.rb
baton-0.4.10 spec/baton/baton_spec.rb
baton-0.4.9 spec/baton/baton_spec.rb
baton-0.4.8 spec/baton/baton_spec.rb
baton-0.4.5 spec/baton/baton_spec.rb
baton-0.4.4 spec/baton/baton_spec.rb
baton-0.4.3 spec/baton/baton_spec.rb
baton-0.4.2 spec/baton/baton_spec.rb
baton-0.4.1 spec/baton/baton_spec.rb
baton-0.3.7 spec/baton/baton_spec.rb
baton-0.3.6 spec/baton/baton_spec.rb