rubocop files update and auto correction
This commit is contained in:
parent
42e8bb11ea
commit
2a30b076b8
88 changed files with 519 additions and 452 deletions
|
|
@ -5,7 +5,7 @@ module Flash
|
|||
return 'none'
|
||||
end
|
||||
if results.count > 1
|
||||
texts = results.map { |r| r.text }
|
||||
texts = results.map(&:text)
|
||||
fail "One flash expected, but we had #{texts.inspect}"
|
||||
end
|
||||
results.first.text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue