#
# Cookbook:: winrm
# Spec:: default
#
# Copyright:: 2017, The Authors, All Rights Reserved.

require 'spec_helper'

describe 'winrm::default' do
  context 'Windows' do
    let(:chef_run) do
      runner = ChefSpec::ServerRunner.new(file_cache_path: Chef::Config[:file_cache_path], platform: 'windows', version: '2012R2')
      runner.converge(described_recipe)
    end

    it 'converges successfully' do
      expect { chef_run }.to_not raise_error
    end
  end
end

#
# Cookbook:: winrm
# Spec:: default
#
# Copyright:: 2017, Peter Crossley

require 'spec_helper'

describe 'winrm::default' do
  context 'Windows' do
    let(:chef_run) do
      runner = ChefSpec::ServerRunner.new(file_cache_path: Chef::Config[:file_cache_path], platform: 'windows', version: '2012R2')
      runner.converge(described_recipe)
    end

    it 'converges successfully' do
      expect { chef_run }.to_not raise_error
    end
  end
end

Fix the copyright in the spec
Fix the copyright in the spec

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
