Skip to content

Commit

Permalink
post rebase cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mwrock committed May 6, 2016
1 parent 05a343e commit 41838fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/spec/response_handler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
describe 'response handler', unit: true do
%w(v1 v2).each do |winrm_version|
context "winrm_version #{winrm_version}" do
let(:soap_fault) { File.read("spec/stubs/responses/soap_fault_#{winrm_version}.xml") }
let(:open_shell) { File.read("spec/stubs/responses/open_shell_#{winrm_version}.xml") }
let(:soap_fault) { stubbed_response("soap_fault_#{winrm_version}.xml") }
let(:open_shell) { stubbed_response("open_shell_#{winrm_version}.xml") }

describe "successful 200 #{winrm_version} response" do
it 'returns an xml doc' do
Expand Down Expand Up @@ -46,7 +46,7 @@
end

describe 'failed 500 WMI error response' do
let(:wmi_error) { File.read('spec/stubs/responses/wmi_error_v2.xml') }
let(:wmi_error) { stubbed_response('wmi_error_v2.xml') }

it 'raises a WinRMWMIError' do
handler = WinRM::ResponseHandler.new(wmi_error, 500)
Expand Down

0 comments on commit 41838fb

Please sign in to comment.