diff options
| author | Luke Kanies <luke@madstop.com> | 2009-08-10 04:31:26 +0000 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-08-10 17:39:40 +1000 |
| commit | a88fc4d24c50d91aa764fa8f52797e86bb6d8965 (patch) | |
| tree | e4d77ea5dcdd29cf039788d5e37ac41e183bc644 /spec/integration/network | |
| parent | 9a356ab289a64245cf59cd763dc953a93d71682b (diff) | |
| download | puppet-a88fc4d24c50d91aa764fa8f52797e86bb6d8965.tar.gz puppet-a88fc4d24c50d91aa764fa8f52797e86bb6d8965.tar.xz puppet-a88fc4d24c50d91aa764fa8f52797e86bb6d8965.zip | |
Fixing more tests broken from missing libraries
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/integration/network')
| -rwxr-xr-x | spec/integration/network/formats.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/integration/network/formats.rb b/spec/integration/network/formats.rb index 3ea26f534..7d0d47ee7 100755 --- a/spec/integration/network/formats.rb +++ b/spec/integration/network/formats.rb @@ -47,7 +47,11 @@ end describe Puppet::Network::FormatHandler.format(:json) do describe "when json is absent" do - confine "'json' library is prsent" => (! Puppet.features.json?) + confine "'json' library is present" => (! Puppet.features.json?) + + before do + @json = Puppet::Network::FormatHandler.format(:json) + end it "should not be suitable" do @json.should_not be_suitable |
