summaryrefslogtreecommitdiff
path: root/test/unit/conference_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/conference_test.rb')
-rw-r--r--test/unit/conference_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/conference_test.rb b/test/unit/conference_test.rb
index 85f7ddb..e7c05c9 100644
--- a/test/unit/conference_test.rb
+++ b/test/unit/conference_test.rb
@@ -29,16 +29,16 @@ class ConferenceTest < ActiveSupport::TestCase
assert conference.valid?
- (MINIMUM_PIN_LENGTH - 1).times do |i|
+ (GsParameter.get('MINIMUM_PIN_LENGTH') - 1).times do |i|
pin = "#{10**i}"
conference.pin = pin
assert !conference.valid?
end
- conference.pin = "#{10**(MINIMUM_PIN_LENGTH - 1)}"
+ conference.pin = "#{10**(GsParameter.get('MINIMUM_PIN_LENGTH') - 1)}"
assert conference.valid?
- conference.pin = "-#{10**(MINIMUM_PIN_LENGTH - 1)}"
+ conference.pin = "-#{10**(GsParameter.get('MINIMUM_PIN_LENGTH') - 1)}"
assert !conference.valid?
conference.pin = 'Teststring'