Remove a few Ruby syntax warnings from the test suite.

This commit is contained in:
Lucas Mazza
2016-05-02 10:46:57 -03:00
parent 8ac32f14b1
commit 13285d7ef3
8 changed files with 13 additions and 14 deletions

View File

@@ -5,8 +5,7 @@ class ApplicationController < ActionController::Base
protect_from_forgery
before_action :current_user, unless: :devise_controller?
before_action :authenticate_user!, if: :devise_controller?
respond_to *Mime::SET.map(&:to_sym)
respond_to(*Mime::SET.map(&:to_sym))
devise_group :commenter, contains: [:user, :admin]
end