Sha256: 54895bbedacd7c8da3ebe36b0f839195c82ac3d36389092a6b6725a035988d59
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
require 'test_helper' module Vedeu describe Application do let(:described) { Vedeu::Application } let(:instance) { described.new(configuration) } let(:configuration) { Vedeu.configuration } before { configuration.stubs(:drb?).returns(false) Terminal.stubs(:open).returns(['']) } describe '#initialize' do it { instance.must_be_instance_of(described) } it do instance.instance_variable_get('@configuration'). must_equal(configuration) end end describe '.restart' do subject { described.restart(configuration) } it { subject.must_be_instance_of(Array) } end describe '.start' do subject { described.start(configuration) } it { subject.must_be_instance_of(Array) } end describe '.stop' do subject { described.stop } it { subject.must_equal(false) } end describe '#start' do subject { instance.start } it { subject.must_be_instance_of(Array) } end end # Application end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.5.2 | test/lib/vedeu/runtime/application_test.rb |
vedeu-0.5.1 | test/lib/vedeu/runtime/application_test.rb |