Address rubocop offences

This commit is contained in:
Ryuta Kamizono 2019-03-21 11:15:52 +09:00
parent e04af4eb18
commit d2f9b8e800
2 changed files with 9 additions and 9 deletions

View File

@ -32,7 +32,7 @@ module ContentNegotiation
test "Unregistered mimes are ignored" do
get "/content_negotiation/basic/all", headers: { "HTTP_ACCEPT" => "text/plain, mime/another" }
assert_body '[:text]'
assert_body "[:text]"
end
end
end

View File

@ -8,16 +8,16 @@ module Arel # :nodoc: all
def initialize
super()
@source = JoinSource.new nil
@source = JoinSource.new nil
@optimizer_hints = nil
# https://ronsavage.github.io/SQL/sql-92.bnf.html#set%20quantifier
@set_quantifier = nil
@projections = []
@wheres = []
@groups = []
@havings = []
@windows = []
@set_quantifier = nil
@optimizer_hints = nil
@projections = []
@wheres = []
@groups = []
@havings = []
@windows = []
end
def from