Sha256: 85211e78b0de777be8f30d13d9a84dd47febbd0bb39d13510e9d4c5d366b6720

Contents?: true

Size: 884 Bytes

Versions: 62

Compression:

Stored size: 884 Bytes

Contents

# require 'vendor/gems/environment'
Bundler.require :cucumber

require 'spec/expectations'
require 'spec/mocks'
  
require 'lib/ymdp'
require 'compiler/domains'

require 'spec/stubs'

Before do
  unless defined?(BASE_PATH)
    BASE_PATH = File.expand_path("./features/data")
    APPLICATION_PATH = File.expand_path("./features/data/app")
    CONFIG_PATH = File.expand_path("./features/data/config")
    SERVERS_PATH = File.expand_path("./features/data/servers")
    TMP_PATH = File.expand_path("./features/data/tmp")
  end
  
  @exception = nil
  @files = []

  $rspec_mocks ||= Spec::Mocks::Space.new  
  
  stub_growl
  
  @git_helper = 'git_helper'
  @git_helper.stub(:commit).as_null_object
  YMDP::GitHelper.stub!(:new).and_return(@git_helper)
  
  @ymdt = "ymdt"
  YMDT::Base.stub!(:new).and_return(@ymdt)
end

After do
  @files.each do |file|
    system "rm #{file}"
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
ymdp-0.9.2 features/support/env.rb
ymdp-0.9.1 features/support/env.rb
ymdp-0.9.0 features/support/env.rb
ymdp-0.8.8 features/support/env.rb
ymdp-0.8.7 features/support/env.rb
ymdp-0.8.6 features/support/env.rb
ymdp-0.8.5 features/support/env.rb
ymdp-0.8.4 features/support/env.rb
ymdp-0.8.3 features/support/env.rb
ymdp-0.8.2 features/support/env.rb
ymdp-0.8.1 features/support/env.rb
ymdp-0.8.0 features/support/env.rb
ymdp-0.7.7 features/support/env.rb
ymdp-0.7.6 features/support/env.rb
ymdp-0.7.5 features/support/env.rb
ymdp-0.7.4 features/support/env.rb
ymdp-0.7.3 features/support/env.rb
ymdp-0.7.2 features/support/env.rb
ymdp-0.7.1 features/support/env.rb
ymdp-0.7.0 features/support/env.rb