Sha256: c08e0a43f6879583ec375b1780868fa2840ebb6af97486aa60373dc27b603731

Contents?: true

Size: 291 Bytes

Versions: 13

Compression:

Stored size: 291 Bytes

Contents

require 'spec_helper'

describe Rents::Status do
  describe 'API' do
    it 'should be running correctly' do
      status = Rents::Status.new
      expect(status.http_code).to equal(200)
      expect(status.api_code).to equal(200)
      expect(status.message).not_to be nil
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rents-1.0.0 spec/rents/status_spec.rb
rents-0.1.11 spec/rents/status_spec.rb
rents-0.1.10 spec/rents/status_spec.rb
rents-0.1.9 spec/rents/status_spec.rb
rents-0.1.8 spec/rents/status_spec.rb
rents-0.1.7 spec/rents/status_spec.rb
rents-0.1.6 spec/rents/status_spec.rb
rents-0.1.5 spec/rents/status_spec.rb
rents-0.1.4 spec/rents/status_spec.rb
rents-0.1.3 spec/rents/status_spec.rb
rents-0.1.2 spec/rents/status_spec.rb
rents-0.1.1 spec/rents/status_spec.rb
rents-0.1.0 spec/rents/status_spec.rb