Sha256: 0751a40ff17fc7648865049cb54098a07c26d21baebed908fc3422ee291b4dd6
Contents?: true
Size: 907 Bytes
Versions: 15
Compression:
Stored size: 907 Bytes
Contents
require 'test_helper' module Vedeu describe Application do let(:described) { Vedeu::Application } let(:instance) { described.new(configuration) } let(:configuration) { test_configuration } before do configuration.stubs(:drb?).returns(false) Terminal.stubs(:open).returns(['']) end describe '#initialize' do it { instance.must_be_instance_of(described) } it { instance.instance_variable_get('@configuration').must_equal(configuration) } end describe '.start' do subject { described.start(configuration) } it { subject.must_be_instance_of(Array) } it { described.must_respond_to(:restart) } end describe '.stop' do subject { described.stop } end describe '#start' do subject { instance.start } it { subject.must_be_instance_of(Array) } end end # Application end # Vedeu
Version data entries
15 entries across 15 versions & 1 rubygems