Sha256: 54a3be9e1d13c6b4c23dcbc7fcb914620319fa866a5eb97d9038c71ebd09fe5a

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

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.
#

$:.unshift File.expand_path '..', __FILE__

$:.unshift File.expand_path '../../lib', __FILE__

require 'omniauth'
require 'omniauth-chef'

require 'rack/test'

require 'rspec'

RSpec.configure do |configuration|
  configuration.extend OmniAuth::Test::StrategyMacros, type: :strategy

  configuration.include Rack::Test::Methods

  configuration.expect_with :rspec do |rspec_configuration|
    rspec_configuration.syntax = :expect
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
omniauth-chef-0.1.1 spec/spec_helper.rb
omniauth-chef-0.1.0 spec/spec_helper.rb