Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 584b737207bc4a1ce58f7ec7227207c20e43b503 1 parent e4c84ab
Philippe Lafoucrière authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  spec/spec_helper.rb
1  spec/spec_helper.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.