Sha256: 1770a26d7e65c460aa7d3493430da449272c510e3b6112278902eeb66583ed49

Contents?: true

Size: 603 Bytes

Versions: 28

Compression:

Stored size: 603 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

28 entries across 28 versions & 1 rubygems

Version Path
eyeballs-0.5.10.1 spec/rack_app_detector_spec.rb
eyeballs-0.5.10 spec/rack_app_detector_spec.rb
eyeballs-0.5.9 spec/rack_app_detector_spec.rb
eyeballs-0.5.8.2 spec/rack_app_detector_spec.rb
eyeballs-0.5.8.1 spec/rack_app_detector_spec.rb
eyeballs-0.5.8 spec/rack_app_detector_spec.rb
eyeballs-0.5.7.2 spec/rack_app_detector_spec.rb
eyeballs-0.5.7.1 spec/rack_app_detector_spec.rb
eyeballs-0.5.7 spec/rack_app_detector_spec.rb
eyeballs-0.5.6.1 spec/rack_app_detector_spec.rb
eyeballs-0.5.6 spec/rack_app_detector_spec.rb
eyeballs-0.5.5 spec/rack_app_detector_spec.rb
eyeballs-0.5.4 spec/rack_app_detector_spec.rb
eyeballs-0.5.3 spec/rack_app_detector_spec.rb
eyeballs-0.5.2 spec/rack_app_detector_spec.rb
eyeballs-0.5.1 spec/rack_app_detector_spec.rb
eyeballs-0.5.0 spec/rack_app_detector_spec.rb
eyeballs-0.4.2 spec/rack_app_detector_spec.rb
eyeballs-0.4.1 spec/rack_app_detector_spec.rb
eyeballs-0.3.7 spec/rack_app_detector_spec.rb