Skip to content

Commit

Permalink
fixup! 2701c7f
Browse files Browse the repository at this point in the history
  • Loading branch information
garethrees committed Aug 3, 2015
1 parent 35d856a commit 4fa64be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions lib/database_collation.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- encoding : utf-8 -*-
#
# Public: Class to check whether the current database supports collation for
# a given language. Prefer the class method .supports? rather than creating a
# new instance.
Expand Down
12 changes: 6 additions & 6 deletions spec/lib/database_collation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ def mock_connection(connection_double_opts = {})
connection = double('ActiveRecord::FakeConnection', connection_double_opts)

installed_collations = [
{"collname"=>"default"},
{"collname"=>"C"},
{"collname"=>"POSIX"},
{"collname"=>"C.UTF-8"},
{"collname"=>"en_GB"},
{"collname"=>"en_GB.utf8"}
{ "collname" => "default" },
{ "collname" => "C" },
{ "collname" => "POSIX" },
{ "collname" => "C.UTF-8" },
{ "collname" => "en_GB" },
{ "collname" => "en_GB.utf8" }
]

connection.
Expand Down

0 comments on commit 4fa64be

Please sign in to comment.