Sha256: e9731cff52da7fb215a70a6ca00ab365bcccf884146b4e74a16a32fa163a40c3
Contents?: true
Size: 1.63 KB
Versions: 1
Compression:
Stored size: 1.63 KB
Contents
require 'simplecov' unless RUBY_VERSION.to_s < '1.9.0' require "#{File.dirname(__FILE__)}/../lib/cuke_modeler" 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" RSpec.configure do |config| case when Gem.loaded_specs['gherkin'].version.version[/^4/] config.filter_run_excluding :gherkin2 => true, :gherkin3 => true when Gem.loaded_specs['gherkin'].version.version[/^3/] config.filter_run_excluding :gherkin2 => true, :gherkin4 => true else config.filter_run_excluding :gherkin3 => true, :gherkin4 => true end config.before(:all) do @default_file_directory = "#{File.dirname(__FILE__)}/temp_files" @default_feature_file_name = 'test_feature.feature' end config.before(:each) do FileUtils.remove_dir(@default_file_directory, true) if File.exists?(@default_file_directory) FileUtils.mkdir(@default_file_directory) end config.after(:each) do FileUtils.remove_dir(@default_file_directory, true) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cuke_modeler-0.3.0 | spec/spec_helper.rb |