Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
schedules
Commits
26a0735f
Commit
26a0735f
authored
Feb 09, 2019
by
Zac Wood
Browse files
oopsie
parent
de5f9aca
Pipeline
#3841
passed with stage
in 2 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
schedules/test/controllers/application_controller_test.rb
View file @
26a0735f
require
'test_helper'
class
ApplicationControllerTest
<
ActionDispatch
::
IntegrationTest
test
"redirects without semester id"
do
get
"/"
assert_response
:redirect
assert_match
/\?semester_id=
#{
semesters
(
:fall2018
).
id
}
/
,
@response
.
redirect_url
test
"gets home page"
do
get
(
"/"
)
assert_response
(
:success
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment