test/integration/caching_test.rb
# creates a session as a logged on user
creates a session as a logged on user
creates a session as a logged on user
def login_as(login)
      visit_with_session do |sess|
        sess.login_as login
        yield sess if block_given?
      end
    end
def login_as ( login ) visit_with_session do | sess | sess . login_as login yield sess if block_given? end end
creates a session as a logged on user
creates a session as a logged on user
login
<not_specific>