lib/spout/tests/domain_name_uniqueness.rb in spout-0.12.1 vs lib/spout/tests/domain_name_uniqueness.rb in spout-0.13.0.beta1
- old
+ new
@@ -2,11 +2,11 @@
module Spout
module Tests
module DomainNameUniqueness
def test_domain_name_uniqueness
- files = Dir.glob("domains/**/*.json").collect{|file| file.split('/').last.downcase }
- assert_equal [], files.select{ |f| files.count(f) > 1 }.uniq
+ files = Dir.glob("domains/**/*.json").collect { |file| file.split("/").last.downcase }
+ assert_equal [], files.select { |f| files.count(f) > 1 }.uniq
end
end
end
end