Sha256: 6c2ce79034f5a86a4ed7a4285796fd2d7880110413f99df2de7fc2e4428bc5e4
Contents?: true
Size: 789 Bytes
Versions: 9
Compression:
Stored size: 789 Bytes
Contents
require 'spec_helper' RSpec.describe SoapyCake::AdminTrack do describe '#mass_conversion_insert', :vcr do it 'inserts conversions' do result = subject.mass_conversion_insert( conversion_date: Date.new(2015, 5, 6), affiliate_id: 16059, campaign_id: 13268, sub_affiliate: '', creative_id: 5521, total_to_insert: 12 ) expect(result).to eq(success: true, message: 'Conversions Inserted') end end describe '#update_conversion', :vcr do it 'updates a conversion' do result = subject.update_conversion( conversion_id: 145211, offer_id: 5032, payout: 0.75, received: 1.75 ) expect(result).to eq(success: true, message: 'Conversion Updated') end end end
Version data entries
9 entries across 9 versions & 1 rubygems