Skip to content

Instantly share code, notes, and snippets.

@voxik
Created May 7, 2012 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voxik/2627928 to your computer and use it in GitHub Desktop.
Save voxik/2627928 to your computer and use it in GitHub Desktop.
diff --git a/spec/cli/server_spec.rb b/spec/cli/server_spec.rb
index 6a33b55..3680eb7 100644
--- a/spec/cli/server_spec.rb
+++ b/spec/cli/server_spec.rb
@@ -14,6 +14,8 @@ describe YARD::CLI::Server do
@cli = YARD::CLI::Server.new
end
+ after(:all) { Server::Adapter.shutdown }
+
def rack_required
begin; require 'rack'; rescue LoadError; pending "rack required for this test" end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment