Sha256: bb8a47ceb700b054ae19c936be4c6e621d78bbff00cdb15fe35f6ac22ed276be

Contents?: true

Size: 167 Bytes

Versions: 22

Compression:

Stored size: 167 Bytes

Contents

shared_context :rack_application do
  let(:rack_application) do
    Class.new do
      def call(_env)
        [200, {}, ['hello world!!']]
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
page_magic-1.2.9 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.2.8 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.2.8.alpha spec/support/shared_contexts/rack_application_context.rb
page_magic-1.2.7 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.2.6 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.2.5 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.2.5.alpha1 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.2.4 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.2.3 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.2.1 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.2.0 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.1.0 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.0.4 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.0.3 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.0.2 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.0.1 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.0.0 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.0.0.alpha21 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.0.0.alpha20 spec/support/shared_contexts/rack_application_context.rb
page_magic-1.0.0.alpha19 spec/support/shared_contexts/rack_application_context.rb