Sha256: 92823a0153afcead11fe3105cd4d38af24253c5170dc318f77639f310eeee24a

Contents?: true

Size: 267 Bytes

Versions: 4

Compression:

Stored size: 267 Bytes

Contents

require "spec_helper"

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

4 entries across 4 versions & 1 rubygems

Version Path
baton-0.7.0 spec/baton/baton_spec.rb
baton-0.6.0 spec/baton/baton_spec.rb
baton-0.5.6 spec/baton/baton_spec.rb
baton-0.5.5 spec/baton/baton_spec.rb