Sha256: 8b05914531c293f8f4bacad7cefb53fc149192ef6ff95b9a3d19a54b5dc1ec6c

Contents?: true

Size: 863 Bytes

Versions: 4

Compression:

Stored size: 863 Bytes

Contents

require "spec_helper"

module ShipCompliant
  describe ChannelDetails do

    context "order_channel" do
      it "gets the order_channel" do
        subject.order_channel.should == 'order-channel'
      end
    end

    context "advertiser_key" do
      it "gets the advertiser_key" do
        subject.advertiser_key.should == 'advertiser-key'
      end
    end
    
    context "advertiser_name" do
      it "gets the advertiser_name" do
        subject.advertiser_name.should == 'advertiser-name'
      end
    end

    context "meta" do
      it "gets channel meta" do
        subject.meta.should == '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

4 entries across 4 versions & 1 rubygems

Version Path
ship_compliant-0.2.0 spec/lib/ship_compliant/channel_details_spec.rb
ship_compliant-0.1.2 spec/lib/ship_compliant/channel_details_spec.rb
ship_compliant-0.1.1 spec/lib/ship_compliant/channel_details_spec.rb
ship_compliant-0.1.0 spec/lib/ship_compliant/channel_details_spec.rb