diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-02-22 13:10:15 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-02-22 13:10:15 +0300 |
commit | 065a52c8144e621f699762b0206a14a010897254 (patch) | |
tree | c4a913299a1aa74f0cc2576af25a67a7d927cb55 /spec | |
parent | a7a0873829ffbb9e69effd5803792cb2614d3581 (diff) | |
parent | 6f5b3dc7a08340b022070907b9e3a3fd031504bb (diff) |
Merge branch '28462-fix-delimiter-removes-issue-in-todo-counter' into 'master'
fixes delimiter removes when todo marked as done
Closes #28462
See merge request !9435
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/dashboard/todos_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/dashboard/todos_controller_spec.rb b/spec/controllers/dashboard/todos_controller_spec.rb index 0a3ac9f9512..7072bd5e87c 100644 --- a/spec/controllers/dashboard/todos_controller_spec.rb +++ b/spec/controllers/dashboard/todos_controller_spec.rb @@ -46,7 +46,7 @@ describe Dashboard::TodosController do expect(todo.reload).to be_pending expect(response).to have_http_status(200) - expect(json_response).to eq({ "count" => 1, "done_count" => 0 }) + expect(json_response).to eq({ "count" => "1", "done_count" => "0" }) end end end |