Skip to content

Commit

Permalink
Fixed test_joins_with_namespaced_model_should_use_correct_type for po…
Browse files Browse the repository at this point in the history
…stgresql

Signed-off-by: Michael Koziarski <michael@koziarski.com>
  • Loading branch information
tarmo committed Aug 24, 2008
1 parent 2752ceb commit e6bc5c6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1003,7 +1003,7 @@ def test_joins_with_namespaced_model_should_use_correct_type
firm.clients.create({ :name => 'Some Client' }) firm.clients.create({ :name => 'Some Client' })


stats = Namespaced::Firm.find(firm.id, { stats = Namespaced::Firm.find(firm.id, {
:select => "#{Namespaced::Firm.table_name}.*, COUNT(#{Namespaced::Client.table_name}.id) AS num_clients", :select => "#{Namespaced::Firm.table_name}.id, COUNT(#{Namespaced::Client.table_name}.id) AS num_clients",
:joins => :clients, :joins => :clients,
:group => "#{Namespaced::Firm.table_name}.id" :group => "#{Namespaced::Firm.table_name}.id"
}) })
Expand Down

0 comments on commit e6bc5c6

Please sign in to comment.