Sha256: dfaf19befb97236f572a17b155d326a7cf0a90c9a0947f946eb8100d3095d473
Contents?: true
Size: 605 Bytes
Versions: 10
Compression:
Stored size: 605 Bytes
Contents
require 'spec_helper' describe Eyeballs::AppGenerator do describe "generate a simple app" do before(:all) do create_test_root FileUtils.mkdir(test_root + '/public') FileUtils.cd(test_root) Eyeballs::AppGenerator.start(['test']) end let(:app_dir) { file('public', 'javascripts', 'app') } it "should create the test root" do File.exists?(test_root).should be_true end it "should create the test app in the public javascripts directory" do app_dir.should exist end after(:all) do remove_test_root end end end
Version data entries
10 entries across 10 versions & 1 rubygems