summaryrefslogtreecommitdiff
path: root/spec/unit/provider/ifconfig
diff options
context:
space:
mode:
authorSeth Vargo <sethvargo@gmail.com>2013-09-24 17:38:44 -0400
committerBryan McLellan <btm@opscode.com>2013-09-26 11:13:59 -0700
commit6315871ae7deeead95d84d2487c54a03c47e318f (patch)
treea2bf980c434c657aa350c0d3fc4073652cdf43cf /spec/unit/provider/ifconfig
parent61e98b94fb387353841d5b4575816a1d716cfbc9 (diff)
downloadchef-6315871ae7deeead95d84d2487c54a03c47e318f.tar.gz
Normalize whitespace on all files
Diffstat (limited to 'spec/unit/provider/ifconfig')
-rw-r--r--spec/unit/provider/ifconfig/aix_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/provider/ifconfig/aix_spec.rb b/spec/unit/provider/ifconfig/aix_spec.rb
index a97853b22c..39e9919740 100644
--- a/spec/unit/provider/ifconfig/aix_spec.rb
+++ b/spec/unit/provider/ifconfig/aix_spec.rb
@@ -20,7 +20,7 @@ require 'spec_helper'
require 'chef/exceptions'
describe Chef::Provider::Ifconfig::Aix do
-
+
before(:all) do
@ifconfig_output = <<-IFCONFIG
en1: flags=1e080863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
@@ -47,8 +47,8 @@ IFCONFIG
@provider = Chef::Provider::Ifconfig::Aix.new(@new_resource, @run_context)
end
- describe "#load_current_resource" do
- before do
+ describe "#load_current_resource" do
+ before do
status = double("Status", :exitstatus => 0)
@provider.should_receive(:popen4).with("ifconfig -a").and_yield(@pid,@stdin,StringIO.new(@ifconfig_output),@stderr).and_return(status)
@new_resource.device "en0"
@@ -177,4 +177,4 @@ IFCONFIG
end
end
end
-end \ No newline at end of file
+end