Sha256: 6161b4415794be82572f90f0ff15002e93b07cd0d5e82a6f19d9bb797f645544

Contents?: true

Size: 355 Bytes

Versions: 4

Compression:

Stored size: 355 Bytes

Contents

require 'spec_helper'

describe SlackBotManager::Config do
  describe '#configure' do
    before do
      SlackBotManager.configure do |config|
        config.verbose = true
      end
    end

    after do
      SlackBotManager::Config.reset
    end

    it 'sets verbose mode' do
      expect(SlackBotManager.config.verbose).to eq true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-bot-manager-0.1.0pre5 spec/slack-bot-manager/config_spec.rb
slack-bot-manager-0.1.0pre4 spec/slack-bot-manager/config_spec.rb
slack-bot-manager-0.1.0pre3 spec/slack-bot-manager/config_spec.rb
slack-bot-manager-0.1.0pre2 spec/slack-bot-manager/config_spec.rb