taps icon indicating copy to clipboard operation
taps copied to clipboard

Specs don't pass because spec-supplied version is too low

Open robheittman opened this issue 15 years ago • 0 comments

The compatibility check requires a patchlevel>14, but the spec doesn't supply that; it supplies the minimum compatible version. Something like this works:

diff --git a/spec/server_spec.rb b/spec/server_spec.rb
index 72895ef..89036d2 100644
--- a/spec/server_spec.rb
+++ b/spec/server_spec.rb
@@ -23,7 +23,7 @@ describe Taps::Server do
   end

   it "verifies the client taps version" do
-    get('/', { }, { 'HTTP_AUTHORIZATION' => @auth_header, 'HTTP_TAPS_VERSION' => Taps.compatible_version })
+    get('/', { }, { 'HTTP_AUTHORIZATION' => @auth_header, 'HTTP_TAPS_VERSION' => Taps.version })
     last_response.status.should == 200
  end

robheittman avatar Nov 19 '10 20:11 robheittman