mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Address rubocop offences
This commit is contained in:
parent
e04af4eb18
commit
d2f9b8e800
2 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue