Sha256: bcee9fb6d52835c203a054136a19ee8a991d6589dad6f53f43dffa55e24bd44a

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

require File.expand_path('../spec_helper.rb', __FILE__)

describe  Sendcloud::Stats do

  describe 'get' do

    it 'should return success' do
      response = Sendcloud::Stats.get(days: 2, aggregate: 1)
      expect(response['message']).to eq('success')
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sendcloud-0.2.1 spec/stats_spec.rb
sendcloud-0.2.0 spec/stats_spec.rb
sendcloud-0.1.0 spec/stats_spec.rb