spec/server_spec.rb in taps2-0.6.1 vs spec/server_spec.rb in taps2-0.6.2
- old
+ new
@@ -20,10 +20,10 @@
get '/'
last_response.status.should == 401
end
it 'verifies the client taps version' do
- get('/', {}, 'HTTP_AUTHORIZATION' => @auth_header, 'HTTP_TAPS_VERSION' => Taps.version)
+ get('/', {}, 'HTTP_AUTHORIZATION' => @auth_header, 'HTTP_TAPS_VERSION' => Taps::Version.current)
last_response.status.should == 200
end
it "yells loudly if the client taps version doesn't match" do
get('/', {}, 'HTTP_AUTHORIZATION' => @auth_header, 'HTTP_TAPS_VERSION' => '0.0.1')