diff --git a/spec/unit/network/formats_spec.rb b/spec/unit/network/formats_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/network/formats_spec.rb
+++ b/spec/unit/network/formats_spec.rb
@@ -26,13 +26,11 @@ class PsonTest
 end
 
 describe "Puppet Network Format" do
-  require 'msgpack'
-
-  it "should include a msgpack format" do
+  it "should include a msgpack format", :if => Puppet.features.msgpack? do
     Puppet::Network::FormatHandler.format(:msgpack).should_not be_nil
   end
 
-  describe "msgpack" do
+  describe "msgpack", :if => Puppet.features.msgpack? do
     before do
       @msgpack = Puppet::Network::FormatHandler.format(:msgpack)
     end
(Maint) Only execute msgpack tests if it is present