fix repository specs
This commit is contained in:
parent
e5deae8fdd
commit
21adc43df6
|
@ -154,7 +154,8 @@ shared_examples_for 'platform admin user' do
|
|||
end
|
||||
|
||||
it 'should be able to perform regenerate_metadata action of personal repository' do
|
||||
put :regenerate_metadata, id: @personal_repository, platform_id: @personal_repository.platform, build_for_platform_id: @platform.id
|
||||
put :regenerate_metadata, id: @personal_repository, platform_id: @personal_repository.platform,
|
||||
repository: { build_for_platform_id: @platform.id }
|
||||
response.should redirect_to(platform_repository_path(@personal_repository.platform, @personal_repository))
|
||||
@personal_repository.repository_statuses.find_by(platform_id: @platform).
|
||||
waiting_for_regeneration?.should be_truthy
|
||||
|
|
Loading…
Reference in New Issue