Sha256: fdfdaa5766f68428545a835e43f97b6c867818ee34cb0a276a62a7158853788e

Contents?: true

Size: 687 Bytes

Versions: 8

Compression:

Stored size: 687 Bytes

Contents

# Sets up the Rails environment for Cucumber
ENV["RAILS_ENV"] = "test"
# Extension root
extension_env = File.expand_path(File.dirname(__FILE__) + '/../../../../../config/environment')
require extension_env+'.rb'

Dir.glob(File.join(RADIANT_ROOT, "features", "**", "*.rb")).each {|step| require step}
 
Cucumber::Rails::World.class_eval do
  include Dataset
  datasets_directory "#{RADIANT_ROOT}/spec/datasets"
  Dataset::Resolver.default = Dataset::DirectoryResolver.new("#{RADIANT_ROOT}/spec/datasets", File.dirname(__FILE__) + '/../../spec/datasets', File.dirname(__FILE__) + '/../datasets')
  self.datasets_database_dump_path = "#{Rails.root}/tmp/dataset"
  
  # dataset :exporter
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
radiant-exporter-extension-1.1.0 features/support/env.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-exporter-extension-1.0.3/features/support/env.rb
radiant-exporter-extension-1.0.3 features/support/env.rb
radiant-exporter-extension-1.0.2 features/support/env.rb
radiant-exporter-extension-1.0.1 features/support/env.rb
radiant-exporter-extension-1.0.0 features/support/env.rb
radiant-1.0.0.rc2 vendor/extensions/exporter/features/support/env.rb
radiant-1.0.0.rc1 vendor/extensions/exporter/features/support/env.rb