diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-06-15 13:20:30 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-07-01 10:49:34 +0200 |
commit | 631765748ebff2307a078dc6d50ef8367f3c5ff0 (patch) | |
tree | 4a6a9cf285de1bbd86b43111addac1d82a1fdc20 /spec/requests | |
parent | 69397d559f837cb55fd50d5d0459523854dcec06 (diff) | |
download | gitlab-ce-631765748ebff2307a078dc6d50ef8367f3c5ff0.tar.gz |
Expose action_name
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/todos_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/api/todos_spec.rb b/spec/requests/api/todos_spec.rb index 1960db59c99..8d54b4fd3d8 100644 --- a/spec/requests/api/todos_spec.rb +++ b/spec/requests/api/todos_spec.rb @@ -44,6 +44,7 @@ describe API::Todos, api: true do expect(json_response[0]['target_url']).to be_present expect(json_response[0]['body']).to be_present expect(json_response[0]['state']).to eq('pending') + expect(json_response[0]['action_name']).to eq('assigned') expect(json_response[0]['created_at']).to be_present end |