spec/slack/config_spec.rb in slack-ruby-client-0.14.4 vs spec/slack/config_spec.rb in slack-ruby-client-0.14.5
- old
+ new
@@ -1,13 +1,15 @@
+# frozen_string_literal: true
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