Differentiate test application values
This commit is contained in:
parent
20bbac427a
commit
9fcf657889
|
@ -5,7 +5,7 @@ describe API::Applications, :api do
|
||||||
|
|
||||||
let(:admin_user) { create(:user, admin: true) }
|
let(:admin_user) { create(:user, admin: true) }
|
||||||
let(:user) { create(:user, admin: false) }
|
let(:user) { create(:user, admin: false) }
|
||||||
let!(:application) { create(:application, name: 'application_name', redirect_uri: 'http://application.url', scopes: '') }
|
let!(:application) { create(:application, name: 'another_application', redirect_uri: 'http://other_application.url', scopes: '') }
|
||||||
|
|
||||||
describe 'POST /applications' do
|
describe 'POST /applications' do
|
||||||
context 'authenticated and authorized user' do
|
context 'authenticated and authorized user' do
|
||||||
|
|
Loading…
Reference in New Issue