mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Minor change in existing spec to user the service
This commit is contained in:
parent
6218907d31
commit
611a25ca9f
1 changed files with 1 additions and 5 deletions
|
@ -13,11 +13,7 @@ describe RepositoryDatatableService do
|
|||
data_type: :RepositoryListValue
|
||||
end
|
||||
let!(:repository_state) do
|
||||
RepositoryTableState.create(
|
||||
repository: repository,
|
||||
user: user,
|
||||
state: Constants::REPOSITORY_TABLE_DEFAULT_STATE
|
||||
)
|
||||
RepositoryTableStateService.new(user, repository).create_default_state
|
||||
end
|
||||
let!(:repository_row) do
|
||||
create :repository_row, name: 'A row',
|
||||
|
|
Loading…
Reference in a new issue