Sha256: a906921991426cf67d78a838badabc10dfbd8fb498a4e2bb07cbf27a021efd5a

Contents?: true

Size: 319 Bytes

Versions: 11

Compression:

Stored size: 319 Bytes

Contents

require 'spec_helper'

describe SlackRubyBot::App do
  def app
    SlackRubyBot::App.new
  end
  it_behaves_like 'a slack ruby bot'

  describe '.instance' do
    it 'creates an instance of the App subclass' do
      klass = Class.new(SlackRubyBot::App)
      expect(klass.instance.class).to be klass
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
slack-ruby-bot-bhe-0.5.5.3 spec/slack-ruby-bot/app_spec.rb
slack-ruby-bot-0.8.0 spec/slack-ruby-bot/app_spec.rb
slack-ruby-bot-0.7.0 spec/slack-ruby-bot/app_spec.rb
slack-ruby-bot-0.6.2 spec/slack-ruby-bot/app_spec.rb
slack-ruby-bot-0.6.1 spec/slack-ruby-bot/app_spec.rb
slack-ruby-bot-0.6.0 spec/slack-ruby-bot/app_spec.rb
slack-ruby-bot-0.5.5 spec/slack-ruby-bot/app_spec.rb
slack-ruby-bot-0.5.4 spec/slack-ruby-bot/app_spec.rb
slack-ruby-bot-0.5.3 spec/slack-ruby-bot/app_spec.rb
slack-ruby-bot-0.5.2 spec/slack-ruby-bot/app_spec.rb
slack-ruby-bot-0.5.1 spec/slack-ruby-bot/app_spec.rb