Sha256: 1f0cba0ef21faef72a686df5d219ba3e07c9d7e8baa4d5e7f303f0b845908a98
Contents?: true
Size: 306 Bytes
Versions: 88
Compression:
Stored size: 306 Bytes
Contents
require File.dirname(__FILE__) + '/helper' context "Symbol Params" do setup do Sinatra.application = nil end specify "should be accessable as Strings or Symbols" do get '/' do params[:foo] + params['foo'] end get_it '/', :foo => "X" assert_equal('XX', body) end end
Version data entries
88 entries across 88 versions & 14 rubygems