Sha256: d671d94e05321e8f9a568463e06fd29dd335294d9f976c4c2d4b78d3f9c56925
Contents?: true
Size: 347 Bytes
Versions: 6
Compression:
Stored size: 347 Bytes
Contents
require 'test_helper' class Admins::SessionsControllerTest < ActionController::TestCase setup do @valid = { :email => admins(:bob).email, :password => 'secret' } end test "return_to when passwords_controller is missing" do post :create, :admin => @valid assert_redirected_to root_url assert_authenticated(:admin) end end
Version data entries
6 entries across 6 versions & 1 rubygems