mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 05:04:35 +08:00
Hound is love, Hound is life.
This commit is contained in:
parent
0b68a670c2
commit
8e376a0293
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ RSpec.describe 'Api::V1::InventoryColumnsController', type: :request do
|
|||
|
||||
it 'When invalid request, missing attributes values' do
|
||||
hash_body = nil
|
||||
[:name, :data_type].each do |attr|
|
||||
%i(name data_type).each do |attr|
|
||||
invalid_request_body = @request_body.deep_dup
|
||||
invalid_request_body[:data][:attributes].delete(attr)
|
||||
post api_v1_team_inventory_columns_path(
|
||||
|
|
Loading…
Add table
Reference in a new issue