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