projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15689af
)
Rubocop fix.
author
Andy Allan
<git@gravitystorm.co.uk>
Sat, 29 Oct 2016 15:32:50 +0000
(17:32 +0200)
committer
Andy Allan
<git@gravitystorm.co.uk>
Sat, 29 Oct 2016 15:32:50 +0000
(17:32 +0200)
test/models/trace_test.rb
patch
|
blob
|
history
diff --git
a/test/models/trace_test.rb
b/test/models/trace_test.rb
index 1cb94aeef247eb1e3b4b7d28cc1ad4cb1415bc2b..bdc187c993dfd28c9953346d3a959f7041ade3ee 100644
(file)
--- a/
test/models/trace_test.rb
+++ b/
test/models/trace_test.rb
@@
-196,7
+196,7
@@
class TraceTest < ActiveSupport::TestCase
private
def check_query(query, traces)
- traces = traces.map
{ |t| t.id }
.sort
+ traces = traces.map
(&:id)
.sort
assert_equal traces, query.order(:id).ids
end