diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-25 14:19:57 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-05-29 22:03:00 +0300 |
commit | 1bcb1ef85e63478c8b48524c8a761f9819673f50 (patch) | |
tree | 5bc77a34a35c6b420614fe041b9192f7907a3ace /spec/requests | |
parent | 32b9276c25c95e2bb9fb7805b4457fdd948ea08e (diff) |
Update specs for creating new note without access
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/notes_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/notes_spec.rb b/spec/requests/api/notes_spec.rb index ed1ed5aeb95..beb29a68692 100644 --- a/spec/requests/api/notes_spec.rb +++ b/spec/requests/api/notes_spec.rb @@ -258,8 +258,8 @@ describe API::API, api: true do body: 'Hi!' end - it 'responds with 500' do - expect(response.status).to eq 500 + it 'responds with resource not found error' do + expect(response.status).to eq 404 end it 'does not create new note' do |