summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-03-15 11:25:07 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-03-15 11:55:58 -0700
commitacc99ba8f87cc3731102f8d3ad33c25e2aa0c65b (patch)
tree70fc05d57e0b2635e2e45d8d8fcc9c0f6d576963
parent6a4d291fa72a3f37f88e3c18c97f919830761863 (diff)
downloadpuppet-acc99ba8f87cc3731102f8d3ad33c25e2aa0c65b.tar.gz
puppet-acc99ba8f87cc3731102f8d3ad33c25e2aa0c65b.tar.xz
puppet-acc99ba8f87cc3731102f8d3ad33c25e2aa0c65b.zip
(#4884) Fix whitespace
Paired-with: Max Martin
-rwxr-xr-xspec/integration/transaction_spec.rb24
1 files changed, 9 insertions, 15 deletions
diff --git a/spec/integration/transaction_spec.rb b/spec/integration/transaction_spec.rb
index d5478d7a7..2c12b3d5f 100755
--- a/spec/integration/transaction_spec.rb
+++ b/spec/integration/transaction_spec.rb
@@ -107,29 +107,23 @@ describe Puppet::Transaction do
file1 = tmpfile("file1")
file2 = tmpfile("file2")
- file = Puppet::Type.type(:file).new(
-
- :path => path,
-
+ file = Puppet::Type.type(:file).new(
+ :path => path,
:ensure => "file"
)
- exec1 = Puppet::Type.type(:exec).new(
-
- :path => ENV["PATH"],
+ exec1 = Puppet::Type.type(:exec).new(
+ :path => ENV["PATH"],
:command => "touch #{file1}",
:refreshonly => true,
-
- :subscribe => Puppet::Resource.new(:file, path)
+ :subscribe => Puppet::Resource.new(:file, path)
)
- exec2 = Puppet::Type.type(:exec).new(
-
- :path => ENV["PATH"],
- :command => "touch #{file2}",
+ exec2 = Puppet::Type.type(:exec).new(
+ :path => ENV["PATH"],
+ :command => "touch #{file2}",
:refreshonly => true,
-
- :subscribe => Puppet::Resource.new(:file, path)
+ :subscribe => Puppet::Resource.new(:file, path)
)
catalog = mk_catalog(file, exec1, exec2)