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-1.4.7 features/support/env.rb
ymdp-1.4.6 features/support/env.rb
ymdp-1.4.5 features/support/env.rb
ymdp-1.4.4 features/support/env.rb
ymdp-1.4.3 features/support/env.rb
ymdp-1.4.2 features/support/env.rb
ymdp-1.4.1 features/support/env.rb
ymdp-1.4.0 features/support/env.rb
ymdp-1.3.4 features/support/env.rb
ymdp-1.3.3 features/support/env.rb
ymdp-1.3.2 features/support/env.rb
ymdp-1.3.1 features/support/env.rb
ymdp-1.3.0 features/support/env.rb
ymdp-1.2.0 features/support/env.rb
ymdp-1.1.0 features/support/env.rb
ymdp-1.0.1 features/support/env.rb
ymdp-1.0.0 features/support/env.rb
ymdp-0.10.2 features/support/env.rb
ymdp-0.10.1 features/support/env.rb
ymdp-0.10.0 features/support/env.rb