Module: Zaikio::OAuthClient::SystemTestHelper
- Includes:
- TestHelper
- Defined in:
- lib/zaikio/oauth_client/system_test_helper.rb
Instance Method Summary
collapse
Methods included from TestHelper
find_active_access_token, #logged_in_as
Instance Method Details
#get_session(key) ⇒ Object
12
13
14
15
|
# File 'lib/zaikio/oauth_client/system_test_helper.rb', line 12
def get_session(key)
visit "/zaikio/oauth_client/test_helper/get_session?#{{ key: key }.to_query}"
page.text
end
|
#set_session(key, value) ⇒ Object
8
9
10
|
# File 'lib/zaikio/oauth_client/system_test_helper.rb', line 8
def set_session(key, value)
visit "/zaikio/oauth_client/test_helper/session?#{{ key: key, id: value }.to_query}"
end
|