Sha256: d77d26fa6032ba3ad8956403e7f813024d076dbee9832b23aad15b0e3f00dadd

Contents?: true

Size: 1.18 KB

Versions: 8

Compression:

Stored size: 1.18 KB

Contents

require 'simplecov' unless RUBY_VERSION.to_s < '1.9.0'

require "#{File.dirname(__FILE__)}/../lib/cucumber_analytics"

require "#{File.dirname(__FILE__)}/unit/feature_element_unit_specs"
require "#{File.dirname(__FILE__)}/unit/nested_element_unit_specs"
require "#{File.dirname(__FILE__)}/unit/tagged_element_unit_specs"
require "#{File.dirname(__FILE__)}/unit/containing_element_unit_specs"
require "#{File.dirname(__FILE__)}/unit/bare_bones_unit_specs"
require "#{File.dirname(__FILE__)}/unit/test_element_unit_specs"
require "#{File.dirname(__FILE__)}/unit/prepopulated_unit_specs"
require "#{File.dirname(__FILE__)}/unit/sourced_element_unit_specs"
require "#{File.dirname(__FILE__)}/unit/raw_element_unit_specs"


DEFAULT_FEATURE_FILE_NAME = 'test_feature.feature'
DEFAULT_FILE_DIRECTORY = "#{File.dirname(__FILE__)}/temp_files"


RSpec.configure do |config|
  config.before(:all) do
    @default_feature_file_name = DEFAULT_FEATURE_FILE_NAME
    @default_file_directory = DEFAULT_FILE_DIRECTORY
  end

  config.before(:each) do
    FileUtils.mkdir(@default_file_directory)
  end

  config.after(:each) do
    FileUtils.remove_dir(@default_file_directory, true)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cucumber_analytics-1.5.2 spec/spec_helper.rb
cucumber_analytics-1.5.1 spec/spec_helper.rb
cucumber_analytics-1.5.0 spec/spec_helper.rb
cucumber_analytics-1.4.2 spec/spec_helper.rb
cucumber_analytics-1.4.1 spec/spec_helper.rb
cucumber_analytics-1.4.0 spec/spec_helper.rb
cucumber_analytics-1.3.0 spec/spec_helper.rb
cucumber_analytics-1.2.0 spec/spec_helper.rb