Sha256: 7c977daec2d5f98113b4d94083390c4df1c3a2b3617623f5246c7d1c27467c99

Contents?: true

Size: 695 Bytes

Versions: 11

Compression:

Stored size: 695 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 :ck_editor_filter
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-ck_editor_filter-extension-0.2.9 features/support/env.rb
radiant-ck_editor_filter-extension-0.2.8 features/support/env.rb
radiant-ck_editor_filter-extension-0.2.7 features/support/env.rb
radiant-ck_editor_filter-extension-0.2.6 features/support/env.rb
radiant-ck_editor_filter-extension-0.2.5 features/support/env.rb
radiant-ck_editor_filter-extension-0.2.4 features/support/env.rb
radiant-ck_editor_filter-extension-0.2.3 features/support/env.rb
radiant-ck_editor_filter-extension-0.2.2 features/support/env.rb
radiant-ck_editor_filter-extension-0.2.1 features/support/env.rb
radiant-ck_editor_filter-extension-0.2.0 features/support/env.rb
radiant-ck_editor_filter-extension-0.1.1 features/support/env.rb