Sha256: 4b37d04657d0ba986ca6b8bf7daf0bf401bf44ced23f7eda11a9176dca6fe735
Contents?: true
Size: 294 Bytes
Versions: 1
Compression:
Stored size: 294 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' 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 expect(last_response.status).to eq 404 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ki-0.4.12 | spec/lib/ki/middleware_spec.rb |