Browse files

Fix tests for postgresql

postgresql won't accept "Read 1" as a
boolean value, and that's a good thing :)
  • Loading branch information...
1 parent e4c84ab commit 584b737207bc4a1ce58f7ec7227207c20e43b503 @gravis committed May 30, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/spec_helper.rb
View
1 spec/spec_helper.rb
@@ -38,6 +38,7 @@ def create_records(klass=Article, values={})
case c.intern
when :id; x
when :deleted_at; 'NULL'
+ when :read; true
else "'#{c.capitalize} #{x}'"
end
end

0 comments on commit 584b737

Please sign in to comment.