diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-10 15:22:04 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-08-10 15:26:52 +0200 |
commit | 90b492143dae5cbaf884b12fbfd823c9f65d392f (patch) | |
tree | 58ecbe9865b1cfcca6b08da53e8bb6c5e01e5c9a /spec/controllers/api/v1/statuses/bookmarks_controller_spec.rb | |
parent | 7d1dd59496189d7b6e81585a01aaaae6fd45a737 (diff) |
Introduce OAuth scopes for bookmarks
Diffstat (limited to 'spec/controllers/api/v1/statuses/bookmarks_controller_spec.rb')
-rw-r--r-- | spec/controllers/api/v1/statuses/bookmarks_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/api/v1/statuses/bookmarks_controller_spec.rb b/spec/controllers/api/v1/statuses/bookmarks_controller_spec.rb index d881e22ed..b79853718 100644 --- a/spec/controllers/api/v1/statuses/bookmarks_controller_spec.rb +++ b/spec/controllers/api/v1/statuses/bookmarks_controller_spec.rb @@ -7,7 +7,7 @@ describe Api::V1::Statuses::BookmarksController do let(:user) { Fabricate(:user, account: Fabricate(:account, username: 'alice')) } let(:app) { Fabricate(:application, name: 'Test app', website: 'http://testapp.com') } - let(:token) { Fabricate(:accessible_access_token, resource_owner_id: user.id, scopes: 'write', application: app) } + let(:token) { Fabricate(:accessible_access_token, resource_owner_id: user.id, scopes: 'write:bookmarks', application: app) } context 'with an oauth token' do before do |