Sha256: 58074fdd81224162c5e6ad7828adf81bc26aac608754619aacb64a739c86c0b8

Contents?: true

Size: 265 Bytes

Versions: 39

Compression:

Stored size: 265 Bytes

Contents

require 'spec_helper'

describe Slack::Config do
  describe '#configure' do
    before do
      Slack.configure do |config|
        config.token = 'a token'
      end
    end
    it 'sets token' do
      expect(Slack.config.token).to eq 'a token'
    end
  end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
slack-ruby-client-0.7.6 spec/slack/config_spec.rb
slack-ruby-client-0.7.5 spec/slack/config_spec.rb
slack-ruby-client-0.7.4 spec/slack/config_spec.rb
slack-ruby-client-0.7.3 spec/slack/config_spec.rb
slack-ruby-client-0.7.2 spec/slack/config_spec.rb
slack-ruby-client-0.7.1 spec/slack/config_spec.rb
slack-ruby-client-0.7.0 spec/slack/config_spec.rb
slack-ruby-client-0.6.0 spec/slack/config_spec.rb
slack-ruby-client-0.5.4 spec/slack/config_spec.rb
slack-ruby-client-0.5.3 spec/slack/config_spec.rb
slack-ruby-client-0.5.2 spec/slack/config_spec.rb
slack-ruby-client-0.5.1 spec/slack/config_spec.rb
slack-ruby-client-0.5.0 spec/slack/config_spec.rb
slack-ruby-client-0.4.0 spec/slack/config_spec.rb
slack-ruby-client-0.3.1 spec/slack/config_spec.rb
slack-ruby-client-0.3.0 spec/slack/config_spec.rb
slack-ruby-client-0.2.1 spec/slack/config_spec.rb
slack-ruby-client-0.2.0 spec/slack/config_spec.rb
slack-ruby-client-0.1.0 spec/slack/config_spec.rb