Sha256: 075b9c131d2ca8849a46e65cc26ddb5d28f2f1cc5d3687719831ada33e9ae47c
Contents?: true
Size: 731 Bytes
Versions: 16
Compression:
Stored size: 731 Bytes
Contents
require 'spec_helper' CLASS = Rails3::Assist::App class Helper include Rails3::Assist::App include Rails3::Assist::Directory include Rails3::Assist::Artifact end describe 'controller' do before do Rails3::Assist::Directory.rails_root = fixtures_dir @helper = Helper.new end after do remove_temp_dir 'tmp_rails' end it "should create basic root directories" do CLASS.create_empty_tmp @helper.root_directories @helper.root_dir.should have_dirs(@helper.root_directories) end it "should have basic app directories" do @helper.create_empty_tmp @helper.app_artifacts @helper.app_dir.should have_dirs(@helper.app_directories) end end
Version data entries
16 entries across 16 versions & 1 rubygems