5737: Fix test so call counts are as expected
authorTom Clegg <tom@curoverse.com>
Mon, 10 Oct 2016 21:39:58 +0000 (17:39 -0400)
committerTom Clegg <tom@curoverse.com>
Wed, 12 Oct 2016 15:30:18 +0000 (11:30 -0400)
services/api/test/unit/app_version_test.rb

index 4718ac2ef6ae2cbeba4a41291c7b9144be6c33f5..2e585051ad56ce0c2f6ecaf8fe6f53d5c3e9795d 100644 (file)
@@ -20,9 +20,12 @@ class AppVersionTest < ActiveSupport::TestCase
     end
   end
 
-  test 'override with configuration' do
+  test 'override with configuration "foobar"' do
     Rails.configuration.source_version = 'foobar'
     assert_equal 'foobar', AppVersion.hash
+  end
+
+  test 'override with configuration false' do
     Rails.configuration.source_version = false
     assert_not_equal 'foobar', AppVersion.hash
   end