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-bhe-0.5.5 spec/slack/config_spec.rb
slack-ruby-client-bhe-0.5.4 spec/slack/config_spec.rb
slack-ruby-client-0.14.4 spec/slack/config_spec.rb
slack-ruby-client-0.14.3 spec/slack/config_spec.rb
slack-ruby-client-0.14.2 spec/slack/config_spec.rb
slack-ruby-client-0.14.1 spec/slack/config_spec.rb
slack-ruby-client-0.14.0 spec/slack/config_spec.rb
slack-ruby-client-0.13.1 spec/slack/config_spec.rb
slack-ruby-client-0.13.0 spec/slack/config_spec.rb
slack-ruby-client-0.12.0 spec/slack/config_spec.rb
slack-ruby-client-0.11.1 spec/slack/config_spec.rb
slack-ruby-client-0.11.0 spec/slack/config_spec.rb
slack-ruby-client-0.10.0 spec/slack/config_spec.rb
slack-ruby-client-0.9.1 spec/slack/config_spec.rb
slack-ruby-client-0.9.0 spec/slack/config_spec.rb
slack-ruby-client-0.8.1 spec/slack/config_spec.rb
slack-ruby-client-0.8.0 spec/slack/config_spec.rb
slack-ruby-client-0.7.9 spec/slack/config_spec.rb
slack-ruby-client-0.7.8 spec/slack/config_spec.rb
slack-ruby-client-0.7.7 spec/slack/config_spec.rb