Sha256: a3fd69772ff271319cc2a129c83d920b0f9d35eefc1bf2e35de60e8d0452bef0

Contents?: true

Size: 421 Bytes

Versions: 3

Compression:

Stored size: 421 Bytes

Contents

require 'spec_helper'

describe GrooveHQ::Client::Mailboxes, integration: true do

  let(:client) { GrooveHQ::Client.new }

  describe "#mailboxes" do

    let(:response) { client.mailboxes }

    it "successfully gets mailboxes" do
      expect(response).to be_instance_of GrooveHQ::ResourceCollection
    end

    it "get the right mailboxes info" do
      expect(response.first.name).to eq "Inbox"
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
groovehq-1.0.7 spec/groovehq/integration/mailboxes_spec.rb
groovehq-1.0.6 spec/groovehq/integration/mailboxes_spec.rb
groovehq-1.0.5 spec/groovehq/integration/mailboxes_spec.rb