Sha256: 16144a704eba3bd8c7df1ade71f6db888a9ead611a5f7ae21bf7032596d2ed32

Contents?: true

Size: 735 Bytes

Versions: 11

Compression:

Stored size: 735 Bytes

Contents

require 'test_helper'

module Vedeu

  module Generator

    describe Application do

      let(:described) { Vedeu::Generator::Application }
      let(:instance)  { described.new(_name) }
      let(:_name)     { 'my_first_app' }

      before do
        FileUtils.stubs(:cp_r)
        FileUtils.stubs(:mkdir)
      end

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

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

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

        # @todo
      end

    end # Application

  end # Generator

end # Vedeu

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
vedeu-0.4.61 test/lib/vedeu/cli/generator/application_test.rb
vedeu-0.4.60 test/lib/vedeu/cli/generator/application_test.rb
vedeu-0.4.59 test/lib/vedeu/cli/generator/application_test.rb
vedeu-0.4.58 test/lib/vedeu/cli/generator/application_test.rb
vedeu-0.4.57 test/lib/vedeu/cli/generator/application_test.rb
vedeu-0.4.56 test/lib/vedeu/cli/generator/application_test.rb
vedeu-0.4.55 test/lib/vedeu/cli/generator/application_test.rb
vedeu-0.4.54 test/lib/vedeu/cli/generator/application_test.rb
vedeu-0.4.53 test/lib/vedeu/cli/generator/application_test.rb
vedeu-0.4.52 test/lib/vedeu/cli/generator/application_test.rb
vedeu-0.4.51 test/lib/vedeu/cli/generator/application_test.rb