Sha256: 8a086c8fc64cb7cfab791f4fd53811b99f2cf89f9db3be748423c8cab870e06c

Contents?: true

Size: 440 Bytes

Versions: 2

Compression:

Stored size: 440 Bytes

Contents

unless RUBY_VERSION.to_s < '1.9.0'
  require 'simplecov'
  SimpleCov.command_name('cql-cucumber')
end


require 'cql'
require 'cql/model_dsl'


Before do
  @default_file_directory = "#{File.dirname(__FILE__)}/../temp_files"

  FileUtils.mkdir(@default_file_directory)
end

After do
  FileUtils.remove_dir(@default_file_directory, true)
end


def process_path(path)
  path.sub('path/to', @default_file_directory)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cql-1.4.0 testing/cucumber/support/env.rb
cql-1.3.0 testing/cucumber/support/env.rb