]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
Fix extraneous trailing whitespace
authorKen Barber <ken@bob.sh>
Sat, 24 Mar 2012 22:38:21 +0000 (22:38 +0000)
committerKen Barber <ken@bob.sh>
Sun, 25 Mar 2012 02:44:22 +0000 (03:44 +0100)
spec/unit/puppet/provider/iptables_spec.rb

index 33863d2aab6d30e09ac2c3a2f9f1f0d8bb4f6558..e01dab60a79a575a35e4c418a44df6e72b7940b5 100644 (file)
@@ -34,12 +34,12 @@ describe 'iptables provider detection' do
   end
 
   it "should raise a default provider error when there are no commands" do
-    # Stub all commands lookups so they return nothing 
+    # Stub all commands lookups so they return nothing
     exists.any_instance.stubs(:which).returns false
 
     # Instantiate a resource instance and make sure it raises an exception
-    lambda { resource = Puppet::Type.type(:firewall).new({ 
-      :name => '000 test foo' }) }.should raise_error(Puppet::DevError, 
+    lambda { resource = Puppet::Type.type(:firewall).new({
+      :name => '000 test foo' }) }.should raise_error(Puppet::DevError,
       "Could not find a default provider for firewall")
   end
 end
@@ -57,7 +57,7 @@ describe 'iptables provider' do
     Puppet::Type::Firewall.stubs(:defaultprovider).returns provider
     provider.stubs(:command).with(:iptables_save).returns "/sbin/iptables-save"
   end
-  
+
   it 'should be able to get a list of existing rules' do
     # Pretend to return nil from iptables
     provider.expects(:execute).with(['/sbin/iptables-save']).returns("")