diff options
author | rautenberg <rautenberg@in-silico.ch> | 2016-11-16 16:36:51 +0100 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2016-11-16 16:36:51 +0100 |
commit | ce50ce7054e0df917c31e6fa353a2deef858ca64 (patch) | |
tree | 520a82edf8b66b7450c2492557daa359e518536d | |
parent | 99313164edb01f15168042b5bae617795a3300ca (diff) |
add basic feature tests
-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 |