Sha256: 29adb042f91a19d0805142a24943f447694ecd42f64160601966a5385412b5e1
Contents?: true
Size: 223 Bytes
Versions: 2
Compression:
Stored size: 223 Bytes
Contents
shared_context :rack_test do include_context :async include Rack::Test::Methods def env @env||={} end before :each do |example| @env = {'async.callback' => callback} if example.metadata[:async] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sitehub-0.4.2 | spec/support/shared_contexts/rack_test_context.rb |
sitehub-0.4.1 | spec/support/shared_contexts/rack_test_context.rb |