spec/spec_helper.rb in licensee-8.8.5 vs spec/spec_helper.rb in licensee-8.9.0
- old
+ new
@@ -52,10 +52,10 @@
end
# Add random words to the end of a license to test similarity tollerances
def add_random_words(string, count = 5)
string = string.dup
- ipsum = %w(lorem ipsum dolor sit amet consectetur adipiscing elit)
+ ipsum = %w[lorem ipsum dolor sit amet consectetur adipiscing elit]
count.times do
string << " #{ipsum[Random.rand(ipsum.length)]}"
end
string
end