Sha256: b318ee0552ef5e2b9faaf4ba70988a2c3f1444cf4d901fb3eaca1ba62db3bcbc
Contents?: true
Size: 675 Bytes
Versions: 3
Compression:
Stored size: 675 Bytes
Contents
require 'spec_helper' describe EventedSpec::SpecHelper, "Cool.io bindings", :nojruby => true do include EventedSpec::SpecHelper default_timeout 1 def coolio_running? Coolio::Loop.default.instance_variable_get(:@running) end # coolio_running? after(:each) { coolio_running?.should be_false } let(:method_name) { "coolio" } let(:prefix) { "coolio_" } it_should_behave_like "EventedSpec adapter" describe EventedSpec::CoolioSpec do include EventedSpec::CoolioSpec it "should run inside of coolio loop" do coolio_running?.should be_true Coolio::Loop.default.has_active_watchers?.should be_true done end end end
Version data entries
3 entries across 3 versions & 1 rubygems