mirror of
https://github.com/wahyd4/ocelots.git
synced 2026-08-09 13:06:25 +10:00
13 lines
267 B
Ruby
13 lines
267 B
Ruby
require 'spec_helper'
|
|
|
|
describe TestController do
|
|
|
|
describe :test_login do
|
|
it 'ensure person login with test email if Rails environment is test' do
|
|
get :test_login
|
|
session[:email] == 'test@gmail.com'
|
|
assert_redirected_to '/'
|
|
end
|
|
end
|
|
end
|