summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorChris Price <chris@pupppetlabs.com>2012-08-16 19:30:58 -0700
committerChris Price <chris@pupppetlabs.com>2012-08-16 21:50:20 -0700
commit4f0e7264e3c3089e489d05bbb4371c449b0ed78d (patch)
treefea109b142afa7bc9233dd651d849cd61cc1d327 /spec/unit
parentbf06644b4a38a40a36c629e7dc619fba4c35c730 (diff)
downloadpuppet-inifile-4f0e7264e3c3089e489d05bbb4371c449b0ed78d.tar.gz
puppet-inifile-4f0e7264e3c3089e489d05bbb4371c449b0ed78d.tar.bz2
final commit for 0.0.1 release
* Updated README * Fixed a small bug that would be triggered if the file specified by `path` didn't exist. * Added a smoke test manifest
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/puppet/util/ini_file_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/puppet/util/ini_file_spec.rb b/spec/unit/puppet/util/ini_file_spec.rb
index 7e7458a..f2c6e20 100644
--- a/spec/unit/puppet/util/ini_file_spec.rb
+++ b/spec/unit/puppet/util/ini_file_spec.rb
@@ -23,6 +23,7 @@ baz=bazvalue
}
before :each do
+ File.should_receive(:file?).with("/my/ini/file/path") { true }
described_class.should_receive(:readlines).once.with("/my/ini/file/path") do
sample_content
end