Sha256: c204922dcdfa446e8f1bcfc5a902cd86e227e7e27c42d9f4cb8cfcda47d7eb31

Contents?: true

Size: 403 Bytes

Versions: 6

Compression:

Stored size: 403 Bytes

Contents

require 'spec_helper'
require 'contextio'

describe "A MessageCollection created from a Folder" do
  let(:api) { double(:api) }
  let(:source) { double(:source, account: 'account') }
  let(:folder) { ContextIO::Folder.new(api, source: source) }
  let(:message_collection) { folder.messages }

  it "has a handle on the right account" do
    expect(message_collection.account).to eq('account')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
contextio-1.7.2 spec/integration/folders_messages_spec.rb
contextio-1.7.1 spec/integration/folders_messages_spec.rb
contextio-1.7.0 spec/integration/folders_messages_spec.rb
contextio-1.6.0 spec/integration/folders_messages_spec.rb
contextio-1.5.0 spec/integration/folders_messages_spec.rb
contextio-1.4.0 spec/integration/folders_messages_spec.rb