spec/plugin/heartbeat_spec.rb in roda-3.9.0 vs spec/plugin/heartbeat_spec.rb in roda-3.10.0
- old
+ new
@@ -34,10 +34,10 @@
body('/heartbeat2').must_equal 'OK'
end
it "should work when using sessions" do
app(:bare) do
- use Rack::Session::Cookie, :secret=>'foo'
+ send(*DEFAULT_SESSION_ARGS)
plugin :heartbeat
route do |r|
session.clear
r.on "a" do