Sha256: e8e941a940e24666520ef754dec621d6a0b078493640270d05894c2e768238f8

Contents?: true

Size: 983 Bytes

Versions: 1

Compression:

Stored size: 983 Bytes

Contents

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


# Ruby 1.8.x seems to have trouble if relative paths get too nested, so resolving the path before using it here
this_dir = File.expand_path(File.dirname(__FILE__))
require "#{this_dir}/../../../lib/cql"
require "#{this_dir}/../../../lib/cql/model_dsl"


require "#{this_dir}/../../cql_test_model"
require "#{this_dir}/../../model_helper"
require "#{this_dir}/tag_filterable_specs"
require "#{this_dir}/name_filterable_specs"
require "#{this_dir}/line_count_filterable_specs"
require "#{this_dir}/line_filterable_specs"
require "#{this_dir}/queriable_specs"

require 'rubygems/mock_gem_ui'

CQL_FEATURE_FIXTURES_DIRECTORY = "#{this_dir}/../../fixtures/features"


RSpec.configure do |config|

  include CQL::ModelHelper

  if Gem.loaded_specs['cuke_modeler'].version.version[/^0/]
    config.filter_run_excluding :cuke_modeler_1x => true
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cql-1.5.1 testing/rspec/spec/spec_helper.rb