Sha256: 0a31a382e7c82481b25c0f33a7ad72ae612e12839b3444daeb780ab4fdf4a6f6
Contents?: true
Size: 706 Bytes
Versions: 2
Compression:
Stored size: 706 Bytes
Contents
require 'spec_helper' describe MB::Application do describe "ClassMethods" do subject { described_class } describe "::registry" do it "returns an instance of Celluloid::Registry" do subject.registry.should be_a(Celluloid::Registry) end end describe "::config" do it "returns an instance of MB::Config" do subject.config.should be_a(MB::Config) end end describe "::pause" do it "should pause" do subject.pause expect(subject.paused?).to eq(true) end end describe "::resume" do it "should resume" do subject.resume expect(subject.paused?).to eq(false) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
motherbrain-1.5.0 | spec/unit/mb/application_spec.rb |
motherbrain-1.4.0 | spec/unit/mb/application_spec.rb |