This commit is contained in:
Divyanshu Mehta 2017-07-04 08:08:55 +00:00 committed by GitHub
commit 4a624f10eb
6 changed files with 73 additions and 3 deletions

View file

@ -26,6 +26,13 @@ describe ConferencesController do
end
end
describe 'GET #current' do
it 'redirects to first conference splashpage' do
get :current
expect(response).to redirect_to(conference_path(Conference.first.short_title))
end
end
describe 'OPTIONS #index' do
it 'Response code is 200' do
process :index, 'OPTIONS'