Sha256: 3104365d059d5b4666b8119df605bb7009d38164ed088b9c619f717a6266af5c
Contents?: true
Size: 203 Bytes
Versions: 2
Compression:
Stored size: 203 Bytes
Contents
require "spec_helper" describe Rack::API do before do @app = MyApp end it "renders action from MyApp" do get "/v1" JSON.load(last_response.body).should == {"myapp" => true} end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rack-api-0.1.1 | spec/rack-api/inheritance_spec.rb |
rack-api-0.1.0 | spec/rack-api/inheritance_spec.rb |