Sha256: 3edc33f09fe0140c341c797ece516f649c07161b890b708caf3308353a8aeaa7

Contents?: true

Size: 232 Bytes

Versions: 9

Compression:

Stored size: 232 Bytes

Contents

class RackApp
  attr_reader :last_value, :store_active

  def call(env)
    LiveQA::Store.store[:foo] ||= 0
    LiveQA::Store.store[:foo] += 1

    @last_value = LiveQA::Store.store[:foo]

    raise 'ERROR' if env[:error]
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
liveqa-1.9.6 spec/support/rack_app.rb
liveqa-1.9.5 spec/support/rack_app.rb
liveqa-1.9.4 spec/support/rack_app.rb
liveqa-1.9.3 spec/support/rack_app.rb
liveqa-1.9.2 spec/support/rack_app.rb
liveqa-1.9.1 spec/support/rack_app.rb
liveqa-1.9.0 spec/support/rack_app.rb
liveqa-1.8.3 spec/support/rack_app.rb
liveqa-1.4.6 spec/support/rack_app.rb