Sha256: 1f4e69ef59be5c59f5456b5b1468f1f787b01160c1d21e40ebe49f09ad0cdf81
Contents?: true
Size: 883 Bytes
Versions: 1
Compression:
Stored size: 883 Bytes
Contents
require "spec_helper" module ShipCompliant describe ChannelDetails do context "order_channel" do it "gets the order_channel" do expect(subject.order_channel).to eq('order-channel') end end context "advertiser_key" do it "gets the advertiser_key" do expect(subject.advertiser_key).to eq('advertiser-key') end end context "advertiser_name" do it "gets the advertiser_name" do expect(subject.advertiser_name).to eq('advertiser-name') end end context "meta" do it "gets channel meta" do expect(subject.meta).to eq('channel-meta') end end subject do ChannelDetails.new({ order_channel: 'order-channel', advertiser_key: 'advertiser-key', advertiser_name: 'advertiser-name', meta: 'channel-meta' }) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ship_compliant-0.2.1 | spec/lib/ship_compliant/channel_details_spec.rb |