Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 414 Bytes
# In order to sandbox the test and dev env, we declare a
# different value for REDIS_URL when doing tests.
ENV["REDIS_URL"] ||= "redis://localhost:6379/13"
require File.expand_path("../app", File.dirname(__FILE__))
require "cuba/test"
require "malone/test"
prepare do
Capybara.reset!
Ohm.flush
end
class Cutest::Scope
def session
Capybara.current_session.driver.request.env["rack.session"]
end
end
Jump to Line
Something went wrong with that request. Please try again.