Sha256: b639d46296f431be4723c2152ce591497f29428464ce52a350b1285efccb448d
Contents?: true
Size: 755 Bytes
Versions: 5
Compression:
Stored size: 755 Bytes
Contents
require 'test_helper' module Vedeu module CLI describe Application do let(:described) { Vedeu::CLI::Application } let(:instance) { described.new(_name) } let(:_name) { 'my_first_app' } describe '#initialize' do it { instance.must_be_instance_of(described) } it { instance.instance_variable_get('@name').must_equal(_name) } end describe '.generate' do # before do # FileUtils.stubs(:cp_r) # FileUtils.stubs(:mkdir) # end subject { instance.generate(_name) } # @todo Add more tests. end describe '#generate' do it { instance.must_respond_to(:generate) } end end # Application end # CLI end # Vedeu
Version data entries
5 entries across 5 versions & 1 rubygems