projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
11100: If caller sets collection.delete_at too early, set it to the earliest allowed...
[arvados.git]
/
services
/
api
/
test
/
unit
/
app_version_test.rb
diff --git
a/services/api/test/unit/app_version_test.rb
b/services/api/test/unit/app_version_test.rb
index 4718ac2ef6ae2cbeba4a41291c7b9144be6c33f5..2e585051ad56ce0c2f6ecaf8fe6f53d5c3e9795d 100644
(file)
--- a/
services/api/test/unit/app_version_test.rb
+++ b/
services/api/test/unit/app_version_test.rb
@@
-20,9
+20,12
@@
class AppVersionTest < ActiveSupport::TestCase
end
end
end
end
- test 'override with configuration' do
+ test 'override with configuration
"foobar"
' do
Rails.configuration.source_version = 'foobar'
assert_equal 'foobar', AppVersion.hash
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
Rails.configuration.source_version = false
assert_not_equal 'foobar', AppVersion.hash
end