iachat/spec/helpers/api/v1/accounts/landing_hosts_helper_spec.rb
Rodrigo Borba 118f52e239 feat: lead attribution tracking - landing page origin detection
- Cria modelo LeadClick para registrar cliques das landing pages
- Cria modelo LandingHost para mapear hostname → inbox_id
- Endpoint público POST /track/click para receber eventos de clique
- Leads::AttributionMatcherService para correlacionar clique com conversa
- Integração com IncomingMessageWuzapiService para atribuição automática
- API REST para gerenciar LandingHosts por inbox (index/create/destroy)
- UI: nova aba 'Landing Pages' nas configurações da caixa de entrada
- Dashboard API client dedicado (landingHosts.js)
- RuboCop: refatora shift_signature_name, TrackingController, AttributionMatcherService e WuzapiService
2026-03-02 14:40:35 -03:00

16 lines
508 B
Ruby

require 'rails_helper'
# Specs in this file have access to a helper object that includes
# the Api::V1::Accounts::LandingHostsHelper. For example:
#
# describe Api::V1::Accounts::LandingHostsHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# expect(helper.concat_strings("this","that")).to eq("this that")
# end
# end
# end
RSpec.describe Api::V1::Accounts::LandingHostsHelper, type: :helper do
pending "add some examples to (or delete) #{__FILE__}"
end