Sha256: 9edc9cb79bd6e7dbd22184d2f689182978128e648a89ddceb47222020861d975

Contents?: true

Size: 976 Bytes

Versions: 8

Compression:

Stored size: 976 Bytes

Contents

require File.dirname(__FILE__) + "/spec_helper"

describe EY::Serverside do
  
  it "preserves the old constants" do
    EY::BundleInstaller.should == EY::Serverside::BundleInstaller
    EY::CLI.should == EY::Serverside::CLI
    EY::Deploy.should == EY::Serverside::Deploy
    EY::DeployBase.should == EY::Serverside::DeployBase
    EY::Deploy::Configuration.should == EY::Serverside::Deploy::Configuration
    EY::DeployHook.should == EY::Serverside::DeployHook
    EY::LockfileParser.should == EY::Serverside::LockfileParser
    EY::LoggedOutput.should == EY::Serverside::LoggedOutput
    EY::Server.should == EY::Serverside::Server
    EY::Task.should == EY::Serverside::Task    
    EY::Strategies.should == EY::Serverside::Strategies
    EY::Strategies::Git.should == EY::Serverside::Strategies::Git
    
    lambda{ EY::WTFNotDefined }.should raise_error(NameError, /uninitialized constant EY::WTFNotDefined/)    

    #TODO: what about EY.node and EY.dna..

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
engineyard-serverside-1.4.12 spec/deprecation_spec.rb
engineyard-serverside-1.4.11 spec/deprecation_spec.rb
engineyard-serverside-1.4.9.nodestack spec/deprecation_spec.rb
engineyard-serverside-1.4.8.nodestack spec/deprecation_spec.rb
engineyard-serverside-1.4.7.pre spec/deprecation_spec.rb
engineyard-serverside-1.4.3.nodestack spec/deprecation_spec.rb
engineyard-serverside-1.4.1 spec/deprecation_spec.rb
engineyard-serverside-1.4.0 spec/deprecation_spec.rb