Sha256: 32008dd5574d656515b06b2bff6af73846fc5b35e62ee1ecfa7caff8ab5e4f24

Contents?: true

Size: 1.78 KB

Versions: 14

Compression:

Stored size: 1.78 KB

Contents

#
# Author:: Enrico Stahn <mail@enricostahn.com>
#
# Copyright 2014, Zanui, <engineering@zanui.com.au>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
require "codeclimate-test-reporter"
require "simplecov"
require "coveralls"

# This module is only used to check the environment is currently a testing env
module SpecHelper
end

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
                                                                 Coveralls::SimpleCov::Formatter,
                                                                 SimpleCov::Formatter::HTMLFormatter,
                                                                 CodeClimate::TestReporter::Formatter
                                                               ])
SimpleCov.start

require "github_changelog_generator"
require "github_changelog_generator/task"

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  config.filter_run :focus
  config.run_all_when_everything_filtered = true

  config.warnings = true

  config.default_formatter = "doc" if config.files_to_run.one?

  config.order = :random

  Kernel.srand config.seed
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
github_changelog_generator-1.13.1 spec/spec_helper.rb
github_changelog_generator-1.13.0 spec/spec_helper.rb
github_changelog_generator-1.12.1 spec/spec_helper.rb
changelog_jira-1.12.0 spec/spec_helper.rb
github_changelog_generator-1.12.0 spec/spec_helper.rb
github_changelog_generator-1.11.8 spec/spec_helper.rb
github_changelog_generator-1.11.7 spec/spec_helper.rb
github_changelog_generator-1.11.6 spec/spec_helper.rb
github_changelog_generator-1.11.5 spec/spec_helper.rb
github_changelog_generator-1.11.4 spec/spec_helper.rb
github_changelog_generator-1.11.3 spec/spec_helper.rb
github_changelog_generator-1.11.2 spec/spec_helper.rb
github_changelog_generator-1.11.1 spec/spec_helper.rb
github_changelog_generator-1.10.4 spec/spec_helper.rb