Skip to content

Commit

Permalink
Fix integration eager loader spec when using JDBC adapter with SQLite
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Apr 13, 2009
1 parent 4245290 commit ae11f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/eager_loader_test.rb
Expand Up @@ -697,7 +697,7 @@ class ::Project < Sequel::Model
group(:project_id).
select{[project_id, sum(hours).as(hours)]}.
all do |t|
p = kh[:id][t.values.delete(:project_id)].first
p = kh[:id][t.values.delete(:project_id).to_i].first
p.associations[:ticket_hours] = t
end
end)
Expand Down

0 comments on commit ae11f4b

Please sign in to comment.