Sha256: 328ebc99e76e089a4ec4d6c0da507e53d347917d42f55ebfaf0b6e84251fdf3e

Contents?: true

Size: 692 Bytes

Versions: 7

Compression:

Stored size: 692 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 :shop_variants
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
radiant-shop_variants-extension-0.1.3 features/support/env.rb
radiant-shop_variants-extension-0.1.2 features/support/env.rb
radiant-shop_variants-extension-0.1.1 features/support/env.rb
radiant-shop_variants-extension-0.1.0 features/support/env.rb
radiant-shop_variants-extension-0.0.4 features/support/env.rb
radiant-shop_variants-extension-0.0.3 features/support/env.rb
radiant-shop_variants-extension-0.0.1 features/support/env.rb