Skip to content

Commit 7fcc216

Browse files
authored
Merge pull request #211 from MikeMcQuaid/increase-max-aliases
test/topics*: increase max alias count.
2 parents 7e3664b + b7cfaaa commit 7fcc216

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

test/topics_test.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,8 @@
129129
end
130130

131131
assert_equal aliases.size, aliases.uniq.size, "should not duplicate aliases"
132-
unless MAX_ALIAS_COUNT_EXCEPTIONS.include? topic
133-
assert aliases.size <= MAX_ALIAS_COUNT,
134-
"should have no more than #{MAX_ALIAS_COUNT} aliases"
135-
end
132+
assert aliases.size <= MAX_ALIAS_COUNT,
133+
"should have no more than #{MAX_ALIAS_COUNT} aliases"
136134
end
137135

138136
it "has valid related topics" do

test/topics_test_helper.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010

1111
MAX_TOPIC_LENGTH = 35
1212

13-
MAX_ALIAS_COUNT = 10
14-
15-
MAX_ALIAS_COUNT_EXCEPTIONS = %w[global-game-jam ludum-dare].freeze
13+
MAX_ALIAS_COUNT = 120
1614

1715
MAX_RELATED_TOPIC_COUNT = 10
1816

0 commit comments

Comments
 (0)