Sha256: 37f7696137a120799081b5888e3192354d5c69e412b2b7407d12670db2b1ead9
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
require "rack/test" describe Anypow do include Rack::Test::Methods describe "VERSION" do subject { Anypow::VERSION } it { should be_a String } end describe "extend config.ru" do def app config = File.expand_path("../resources/anypow.ru", __FILE__) app, options = Nack::Builder.parse_file(config) app end it "respond from the normal rack app" do get '/' expect(last_response).to be_ok expect(last_response.body).to eq("Hello Rack!") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
anypow-0.0.3 | spec/anypow_spec.rb |
anypow-0.0.2 | spec/anypow_spec.rb |