Sha256: c4eb53f180525007b4f9bfd3f0cc095fa78c33ddcc45e88bbe4ed9b926d47b6e

Contents?: true

Size: 740 Bytes

Versions: 13

Compression:

Stored size: 740 Bytes

Contents

require 'test_helper'

module Vedeu

  describe Bootstrap do

    let(:described)   { Vedeu::Bootstrap }
    let(:instance)    { described.new(argv, entry_point) }
    let(:argv)        { [] }
    let(:entry_point) {}

    describe '#initialize' do
      it { instance.must_be_instance_of(described) }
      it { instance.instance_variable_get('@argv').must_equal(argv) }
      it do
        instance.instance_variable_get('@entry_point').must_equal(entry_point)
      end
    end

    describe '.start' do
      it { described.must_respond_to(:start) }
    end

    describe '#start' do
      subject { instance.start }

      it {
        Vedeu::Launcher.expects(:execute!)
        subject
      }
    end

  end # Bootstrap

end # Vedeu

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
vedeu-0.4.54 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.53 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.52 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.51 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.50 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.49 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.48 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.47 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.46 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.45 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.44 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.43 test/lib/vedeu/bootstrap_test.rb
vedeu-0.4.42 test/lib/vedeu/bootstrap_test.rb