mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
Merge pull request #7848 from aignatov-bio/ai-sci-fix-tests-storage-locations
Fix tests for repositories list
This commit is contained in:
commit
dd19ee866c
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ describe RepositoriesController, type: :controller do
|
|||
|
||||
describe 'index' do
|
||||
let(:repository) { create :repository, team: team, created_by: user }
|
||||
let(:action) { get :index, format: :json }
|
||||
let(:action) { get :index, format: :json, params: { page: 1, per_page: 20 } }
|
||||
|
||||
it 'correct JSON format' do
|
||||
repository
|
||||
|
|
Loading…
Reference in a new issue