Sha256: 0bebf10baedc7bc0c4ecd0d0955019d951eff38d6e6d2a3da420a24bd6a20d38
Contents?: true
Size: 714 Bytes
Versions: 11
Compression:
Stored size: 714 Bytes
Contents
# -*- coding: utf-8 -*- require 'spec_helper' require 'amqp' describe "receive_event" do before do Tengine::Core::Driver.delete_all Tengine::Core::HandlerPath.delete_all Tengine::Core::Session.delete_all end it "イベントを登録できる" do @config = Tengine::Core::Config::Core.new({ :tengined => { :load_path => File.expand_path('./use_dsl_version_method.rb', File.dirname(__FILE__)), }, }) expect{ @config.dsl_version.should_not be_blank @bootstrap = Tengine::Core::Bootstrap.new(@config) @kernel = @bootstrap.kernel @kernel.bind @bootstrap.load_dsl }.to change(Tengine::Core::Driver, :count).by(1) end end
Version data entries
11 entries across 11 versions & 1 rubygems