require 'spec_helper'

describe Tomcat::Manager::Api do
  subject { Tomcat::Manager::Api }

  it "can create a new instance" do
    subject.should respond_to(:new)
  end

  it "returns an array of supported versions" do
    Tomcat::Manager::Api.supported_versions.should be_instance_of(Array)
  end
end

require 'spec_helper'

describe Tomcat::Manager::Api do
  subject { Tomcat::Manager::Api }

  it "can create a new instance" do
    subject.should respond_to(:new)
  end
end

--- 
+++ 
@@ -6,4 +6,8 @@
   it "can create a new instance" do
     subject.should respond_to(:new)
   end
+
+  it "returns an array of supported versions" do
+    Tomcat::Manager::Api.supported_versions.should be_instance_of(Array)
+  end
 end
Update Api Spec for supported_versions Method

Add the supported_verisons method to the Api spec.
