Sha256: 1fa858737328367d8339f7f2cbe108202f590dc988bee706512235bfd9cc44d5
Contents?: true
Size: 698 Bytes
Versions: 29
Compression:
Stored size: 698 Bytes
Contents
require 'test_helper' module Vedeu module Generator describe View do let(:described) { Vedeu::Generator::View } let(:instance) { described.new(_name) } let(:_name) { 'my_first_view' } 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 } end end # View end # Generator end # Vedeu
Version data entries
29 entries across 29 versions & 1 rubygems