Sha256: 0d237ca7baf72941f59cf811e9bafa629cbed9a4b47259d2ab2c77547bb201a8
Contents?: true
Size: 693 Bytes
Versions: 3
Compression:
Stored size: 693 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe SoapyCake::AdminTrack do describe '#decrypt_affiliate_link' do let(:service) { :track } let(:cake_method) { :decrypt_affiliate_link } let(:method) { :decrypt_affiliate_link } let(:cake_opts) { { a: 1 } } let(:opts) { nil } it_behaves_like 'a cake admin method' end describe '#update_conversion' do let(:service) { :track } let(:cake_method) { :update_conversion_events } let(:method) { :update_conversion } let(:cake_opts) { described_class::CONVERSION_DEFAULTS.merge(opts) } let(:opts) { { offer_id: 42, payout: 0 } } it_behaves_like 'a cake admin method' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
soapy_cake-2.3.1 | spec/lib/soapy_cake/admin_track_spec.rb |
soapy_cake-2.3.0 | spec/lib/soapy_cake/admin_track_spec.rb |
soapy_cake-2.2.7 | spec/lib/soapy_cake/admin_track_spec.rb |