spec/lib/ki/middleware_spec.rb in ki-0.4.4 vs spec/lib/ki/middleware_spec.rb in ki-0.4.5

- old
+ new

@@ -2,10 +2,10 @@ describe Ki::Middleware do context Ki::Middleware::ApiHandler do it 'should only handle urls maped from objects that extend Ki::Model' do get '/asd.json' - JSON.parse(last_response.body) + json last_response.status.should == 404 end end end