mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Format
This commit is contained in:
parent
6ffa4af0e1
commit
4edebcf8eb
6 changed files with 12 additions and 13 deletions
|
@ -51,10 +51,10 @@ describe "Context" do
|
|||
get "/" do |env|
|
||||
env.set "key", "value"
|
||||
{
|
||||
key: env.get("key"),
|
||||
before_get: env.get("before_get"),
|
||||
before_get_int: env.get("before_get_int"),
|
||||
before_get_float: env.get("before_get_float")
|
||||
key: env.get("key"),
|
||||
before_get: env.get("before_get"),
|
||||
before_get_int: env.get("before_get_int"),
|
||||
before_get_float: env.get("before_get_float"),
|
||||
}
|
||||
end
|
||||
request = HTTP::Request.new("GET", "/")
|
||||
|
@ -68,4 +68,4 @@ describe "Context" do
|
|||
context.store["before_get_int"].should eq 123
|
||||
context.store["before_get_float"].should eq 3.5
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue