summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/feature.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/feature.rb b/test/feature.rb
index bc62cc6..b2ea0d8 100644
--- a/test/feature.rb
+++ b/test/feature.rb
@@ -22,7 +22,7 @@ class ModelTest < MiniTest::Test
res = RestClientWrapper.get uri, {}, {:accept => "application/json"}
json = JSON.parse(res.body)
assert_equal Feature.last.id.to_s, json["_id"]["$oid"]
- assert_equal Feature.last.category == json["category"]
+ assert_equal Feature.last.category, json["category"]
end
def test_01_get_400