diff options
Diffstat (limited to 'test/feature.rb')
-rw-r--r-- | test/feature.rb | 2 |
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 |