aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/connection_specification
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-06 19:44:11 +0200
committerXavier Noria <fxn@hashref.com>2016-08-06 19:44:11 +0200
commit411ccbdab2608c62aabdb320d52cb02d446bb39c (patch)
tree05671553ac2a23dd1db4d11949c1ac43c3dd1367 /activerecord/test/cases/connection_specification
parent60b67d76dc1d98e4269aac7705e9d8323eb42942 (diff)
downloadrails-411ccbdab2608c62aabdb320d52cb02d446bb39c.tar.gz
rails-411ccbdab2608c62aabdb320d52cb02d446bb39c.tar.bz2
rails-411ccbdab2608c62aabdb320d52cb02d446bb39c.zip
remove redundant curlies from hash arguments
Diffstat (limited to 'activerecord/test/cases/connection_specification')
-rw-r--r--activerecord/test/cases/connection_specification/resolver_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/connection_specification/resolver_test.rb b/activerecord/test/cases/connection_specification/resolver_test.rb
index 7a6125d81b..4bfec47124 100644
--- a/activerecord/test/cases/connection_specification/resolver_test.rb
+++ b/activerecord/test/cases/connection_specification/resolver_test.rb
@@ -126,7 +126,7 @@ module ActiveRecord
end
def test_spec_name_with_inline_config
- spec = spec({"adapter" => "sqlite3"})
+ spec = spec("adapter" => "sqlite3")
assert_equal "primary", spec.name, "should default to primary id"
end
end