Feat: Automations Actions (#3564)

This commit is contained in:
Tejaswini Chile
2022-01-13 11:21:06 +05:30
committed by GitHub
parent 905fd62974
commit 7df68c6388
13 changed files with 124 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ RSpec.describe 'Api::V1::Accounts::AutomationRulesController', type: :request do
expect(response).to have_http_status(:success)
body = JSON.parse(response.body, symbolize_names: true)
expect(body[:data].first[:id]).to eq(automation_rule.id)
expect(body[:payload].first[:id]).to eq(automation_rule.id)
end
end