summaryrefslogtreecommitdiff
path: root/test/support/browser_integration_test.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-15 10:40:21 +0200
committerAzul <azul@leap.se>2014-05-19 14:24:47 +0200
commit1241cb8f13e6d0752b67521e8385b62d7fbcc882 (patch)
tree0fbec07bd9f22e052840df93a927265bdb073542 /test/support/browser_integration_test.rb
parente94b9471c0bc30cd6a1a5bf5b6b22b746d242e31 (diff)
basic integration test for cert API
Diffstat (limited to 'test/support/browser_integration_test.rb')
-rw-r--r--test/support/browser_integration_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/support/browser_integration_test.rb b/test/support/browser_integration_test.rb
index 1c872ff..4fec59f 100644
--- a/test/support/browser_integration_test.rb
+++ b/test/support/browser_integration_test.rb
@@ -54,6 +54,7 @@ class BrowserIntegrationTest < ActionDispatch::IntegrationTest
end
# currently this only works for tests with poltergeist.
+ # ApiIntegrationTest has a working implementation for RackTest
def login(user = nil)
@user ||= user ||= FactoryGirl.create(:user)
token = Token.create user_id: user.id