Sha256: 6f652a64585977b1bc4e4429d909557f897d36ef8476d68cc108bf8241af22c5
Contents?: true
Size: 640 Bytes
Versions: 1
Compression:
Stored size: 640 Bytes
Contents
require 'spec_helper' describe Berkshelf::API::Application do describe "ClassMethods" do subject { described_class } its(:registry) { should be_a(Celluloid::Registry) } describe "::run!" do include Berkshelf::API::Mixin::Services let(:options) { { log_location: '/dev/null' } } subject(:run) { described_class.run!(options) } context "when given true for :disable_http" do it "does not start the REST Gateway" do options[:disable_http] = true run expect { rest_gateway }.to raise_error(Berkshelf::API::NotStartedError) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
berkshelf-api-0.1.0 | spec/unit/berkshelf/api/application_spec.rb |