Sha256: 601b0f7d7ba2cfed160197add27673f0a149a43ca663201b756ffa7ef93706ce
Contents?: true
Size: 496 Bytes
Versions: 8
Compression:
Stored size: 496 Bytes
Contents
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 describe 'executable' do it 'can be required as a dependency' do response = system("ruby -e \"Bundler = nil ; require 'slack-ruby-bot'\"") expect(response).to be true end end end
Version data entries
8 entries across 8 versions & 1 rubygems