Skip to content

Commit

Permalink
PostgreSQL fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kostyantyn committed Mar 30, 2014
1 parent 5186c9c commit cb26e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/hydra_attribute/active_record_spec.rb
Expand Up @@ -74,7 +74,7 @@
expect(Room.count).to be(0)

query = HydraAttribute::HydraValue.arel_tables[Room.table_name]['integer'].project(Arel.star.count)
count = ActiveRecord::Base.connection.select_value(query)
count = ActiveRecord::Base.connection.select_value(query).to_i
expect(count).to be(0)
end
end
Expand Down

0 comments on commit cb26e05

Please sign in to comment.