summaryrefslogtreecommitdiff
path: root/t/test-custodian-settings.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:47 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:47 +0000
commit54b21cf54c51dfe40784a8096f84c7a80b015bd4 (patch)
tree4763692624732650daf1a9e02c91576d3f7ee8d0 /t/test-custodian-settings.rb
parenta22b8e96ead33b0f97ed5243dbad7f7b6cd5135d (diff)
Removed spaces inside parenthesis.
Diffstat (limited to 't/test-custodian-settings.rb')
-rwxr-xr-xt/test-custodian-settings.rb34
1 files changed, 17 insertions, 17 deletions
diff --git a/t/test-custodian-settings.rb b/t/test-custodian-settings.rb
index 1923b0f..74f881b 100755
--- a/t/test-custodian-settings.rb
+++ b/t/test-custodian-settings.rb
@@ -32,9 +32,9 @@ class TestConfigurationSingleton < Test::Unit::TestCase
a = Custodian::Settings.instance
b = Custodian::Settings.instance
- assert( a )
- assert( b )
- assert_equal( a.object_id, b.object_id )
+ assert(a)
+ assert(b)
+ assert_equal(a.object_id, b.object_id)
end
@@ -47,37 +47,37 @@ class TestConfigurationSingleton < Test::Unit::TestCase
# retry delay - probably unset.
a = settings.retry_delay
- assert( a.class == Fixnum )
+ assert(a.class == Fixnum)
# store a number
- settings._store( 'retry_delay', 5 )
+ settings._store('retry_delay', 5)
a = settings.retry_delay
- assert( a.class == Fixnum )
- assert( a == 5 )
+ assert(a.class == Fixnum)
+ assert(a == 5)
# store a string
- settings._store( 'retry_delay', '35' )
+ settings._store('retry_delay', '35')
a = settings.retry_delay
- assert( a.class == Fixnum )
- assert( a == 35 )
+ assert(a.class == Fixnum)
+ assert(a == 35)
# timeout - probably unset.
a = settings.timeout
- assert( a.class == Fixnum )
+ assert(a.class == Fixnum)
# store a number
- settings._store( 'timeout', 5 )
+ settings._store('timeout', 5)
a = settings.timeout
- assert( a.class == Fixnum )
- assert( a == 5 )
+ assert(a.class == Fixnum)
+ assert(a == 5)
# store a string
- settings._store( 'timeout', '35' )
+ settings._store('timeout', '35')
a = settings.timeout
- assert( a.class == Fixnum )
- assert( a == 35 )
+ assert(a.class == Fixnum)
+ assert(a == 35)
end