Permalink
Browse files

reorg rack means all things are json now

  • Loading branch information...
1 parent 15b5eaf commit f96cb91e55bd0dc25dbc6fbfe5e524a008052ba0 @kornypoet kornypoet committed Feb 18, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/server/api_spec.rb
View
@@ -71,7 +71,7 @@ def stub_handler(api, result = {}, &blk)
subject(:response){ perform build_request(:get, '/version') }
it 'returns the server api version' do
- response.body.should eq(Vayacondios::GEM_VERSION)
+ response.parsed_body.should eq(Vayacondios::GEM_VERSION)
end
it 'attaches a version header to every response' do

0 comments on commit f96cb91

Please sign in to comment.