File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def initialize(chart_ids: [])
16
16
17
17
def perform
18
18
raise InvalidParameterError , "chart_ids array of integers expected" unless chart_ids . is_a? ( Array )
19
- raise InvalidParameterError , "chart_ids array must contin Integer only values" unless chart_ids . all? { |item | item . is_a? ( Integer ) }
19
+ raise InvalidParameterError , "chart_ids array must contain Integer only values" unless chart_ids . all? { |item | item . is_a? ( Integer ) }
20
20
21
21
logger . info ( "Attempting to delete charts with id: #{ chart_ids . join ( ', ' ) } " )
22
22
response
Original file line number Diff line number Diff line change 20
20
let ( :chart_ids ) { [ 1 , 'string' ] }
21
21
22
22
it 'raises an error' do
23
- expect { subject . perform } . to raise_error ( Superset ::Request ::InvalidParameterError , "chart_ids array must contin Integer only values" )
23
+ expect { subject . perform } . to raise_error ( Superset ::Request ::InvalidParameterError , "chart_ids array must contain Integer only values" )
24
24
end
25
25
end
26
26
You can’t perform that action at this time.
0 commit comments