mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 03:36:44 +08:00
Fix tests
This commit is contained in:
parent
df344f4d03
commit
6530786f17
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ describe AssetsController, type: :controller do
|
|||
let(:step_asset_in_repository) { create :step_asset, step: step_in_repository, asset: asset }
|
||||
|
||||
describe 'POST start_edit' do
|
||||
before do
|
||||
allow(controller).to receive(:check_edit_permission).and_return(true)
|
||||
end
|
||||
let(:action) { post :create_start_edit_image_activity, params: params, format: :json }
|
||||
let!(:params) do
|
||||
{ id: nil }
|
||||
|
|
Loading…
Reference in a new issue