From e40f0fc79b7fbc3e957eef56e1750605fd7005da Mon Sep 17 00:00:00 2001
From: Alex Reisner <alex@alexreisner.com>
Date: Mon, 30 Apr 2012 23:16:37 -0400
Subject: [PATCH] Clean up test code.

---
 test/mongoid_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/mongoid_test.rb b/test/mongoid_test.rb
index 1d334aa7..0cc6b93a 100644
--- a/test/mongoid_test.rb
+++ b/test/mongoid_test.rb
@@ -33,6 +33,6 @@ class MongoidTest < Test::Unit::TestCase
 
   def test_index_is_skipped_if_skip_option_flag
     result = PlaceWithoutIndex.index_options.keys.flatten[0] == :coordinates
-    assert_equal result, false
+    assert !result
   end
 end
-- 
GitLab