diff --git a/spec/integration/plugin_spec.rb b/spec/integration/plugin_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/plugin_spec.rb
+++ b/spec/integration/plugin_spec.rb
@@ -81,4 +81,21 @@ EOF
       expect(network_opts).to include(:ip => '10.20.1.2')
     end
   end
+
+  context 'when destroying a machine' do
+    def current_ip(machine)
+      settings.pool_manager.with_pool_for(machine) {|p| p.address_for(machine)}
+    end
+
+    it 'releases the allocated IP address' do
+      env = test_env.create_vagrant_env
+      test_machine = env.machine(:test1, :dummy)
+
+      expect(current_ip(test_machine)).to eq('10.20.1.2')
+
+      test_machine.action(:destroy)
+
+      expect(current_ip(test_machine)).to be_nil
+    end
+  end
 end
Add integration tests for release action

Test that destroying a machine results in an IP address being released from the
pool.