-require File.dirname(__FILE__) + '/../test_helper'
+require 'test_helper'
class UserTermsSeenTest < ActionDispatch::IntegrationTest
fixtures :users
post "/user/save", {'decline' => 'decline', 'referer' => '/'}
assert_redirected_to "/"
follow_redirect!
-
+
# should be carried through to a normal login with a message
assert_response :success
assert !flash[:notice].nil?