Add rubocop to our build. (#5004)

This commit is contained in:
Guo Xiang Tan
2017-07-28 10:20:09 +09:00
committed by GitHub
parent ff4e295c4f
commit 5012d46cbd
871 changed files with 5480 additions and 6056 deletions

View File

@ -22,7 +22,7 @@ describe TimelineLookup do
end
it "respects a `max_values` setting" do
input = (1..100).map {|i| [1000+i, i, 100-i] }
input = (1..100).map { |i| [1000 + i, i, 100 - i] }
result = TimelineLookup.build(input, 5)
expect(result.size).to eq(5)
@ -30,7 +30,7 @@ describe TimelineLookup do
end
it "respects an uneven `max_values` setting" do
input = (1..100).map {|i| [1000+i, i, 100-i] }
input = (1..100).map { |i| [1000 + i, i, 100 - i] }
result = TimelineLookup.build(input, 3)
expect(result.size).to eq(3)