Sha256: f6c442f4857740c42c875a56536cd53d877e89a96862ca12d787f26bd3171a8e

Contents?: true

Size: 968 Bytes

Versions: 4

Compression:

Stored size: 968 Bytes

Contents

#
# Copyright:: Copyright (c) 2014 Chef Software Inc.
# License:: Apache License, Version 2.0
#
# 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 'rubygems'
require 'rspec/mocks'
require 'test_helpers'

RSpec.configure do |c|
  c.include ChefDK
  c.include TestHelpers

  c.after(:all) { clear_tempdir }

  c.filter_run :focus => true
  c.run_all_when_everything_filtered = true

  c.mock_with(:rspec) do |mocks|
    mocks.verify_partial_doubles = true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chef-dk-0.4.0 spec/spec_helper.rb
chef-dk-0.3.5 spec/spec_helper.rb
chef-dk-0.3.0 spec/spec_helper.rb
chef-dk-0.2.1 spec/spec_helper.rb