goncalossilva/rails3_acts_as_paranoid — pull request #78 by dra1n (2012-09-12 12:58:00+00:00)
Title: Fix tests

When i was running tests with 'rake' command test data were loaded several times. Also my sqlite was very strict with 'IS' operator, which should be used to compare only boolean values. So I had exceptions like

ActiveRecord::StatementInvalid: SQLite3::SQLException: near "'t'": syntax error: SELECT COUNT(*) FROM "paranoid_forests" WHERE ("paranoid_forests"."deleted_at" IS NULL) AND (rainforest IS 't')