Use be_nil in specs instead of eq nil

This commit is contained in:
Serdar Dogruyol 2018-01-26 18:35:34 +03:00
parent 159e963404
commit 50f82f5187
2 changed files with 5 additions and 5 deletions

View file

@ -100,8 +100,8 @@ describe "Context" do
Kemal::FilterHandler::INSTANCE.call(context)
Kemal::RouteHandler::INSTANCE.call(context)
context.get?("non_existent_key").should eq nil
context.get?("another_non_existent_key").should eq nil
context.get?("non_existent_key").should be_nil
context.get?("another_non_existent_key").should be_nil
end
end
end