Commit 26a0735f authored by Zac Wood's avatar Zac Wood

oopsie

parent de5f9aca
Pipeline #3841 passed with stage
in 2 minutes and 41 seconds
require 'test_helper' require 'test_helper'
class ApplicationControllerTest < ActionDispatch::IntegrationTest class ApplicationControllerTest < ActionDispatch::IntegrationTest
test "redirects without semester id" do test "gets home page" do
get "/" get("/")
assert_response :redirect assert_response(:success)
assert_match /\?semester_id=#{semesters(:fall2018).id}/, @response.redirect_url
end end
end end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment