diff --git a/spec/controllers/api/v1/aggregations_controller_spec.rb b/spec/controllers/api/v1/aggregations_controller_spec.rb index cd4623e8f..ef00b712a 100644 --- a/spec/controllers/api/v1/aggregations_controller_spec.rb +++ b/spec/controllers/api/v1/aggregations_controller_spec.rb @@ -31,7 +31,7 @@ describe 'create' do let(:test_attr) { :workflow_id } let(:test_attr_value) { workflow.id } - let(:fake_response) { { 'task_id': 'asdf-1234-asdf' } } + let(:fake_response) { { 'task_id' => 'asdf-1234-asdf' } } let(:mock_agg) { instance_double(AggregationClient) } let(:create_params) do