Sha256: 0813156c1a0fa785b6bf14eb21ca6b1de8a06ca9edb56f45410e2869c20d6f3e

Contents?: true

Size: 404 Bytes

Versions: 11

Compression:

Stored size: 404 Bytes

Contents

require 'sinatra'

get '/' do
  haml :index
end

post '/login' do
  logger.info params
  haml :index
end

get '/cookies' do
  response.set_cookie("JSESSIONID", :value => "1337")
end

get '/magic' do
  haml :magic
end

__END__

@@ layout
%html
  %meta(content="XAWfTfoqH9eOQy4ZN1U4z+rzfnC/hihb5lWv4VLRY5g=" name="csrf-token")
  = yield

@@ index
%div.title Hello world.

@@ magic
%div.title Magic happens

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruby-jmeter-2.13.10 spec/stub.rb
ruby-jmeter-2.13.9 spec/stub.rb
ruby-jmeter-2.13.8 spec/stub.rb
ruby-jmeter-2.13.7 spec/stub.rb
ruby-jmeter-2.13.6 spec/stub.rb
ruby-jmeter-2.13.5 spec/stub.rb
ruby-jmeter-2.13.4 spec/stub.rb
ruby-jmeter-2.13.3 spec/stub.rb
ruby-jmeter-2.13.2 spec/stub.rb
ruby-jmeter-2.13.1 spec/stub.rb
ruby-jmeter-2.13.0 spec/stub.rb