Sha256: e65a0692ba9a9f149d1d63cd8baa3dbdf7813f01b3cf4ea3b631b13721f8a8b5

Contents?: true

Size: 246 Bytes

Versions: 12

Compression:

Stored size: 246 Bytes

Contents

require 'spec_helper'

describe Hieracles::Puppetdb::APIError do

  describe '.new' do
    let(:response) { Object.new }
    let(:error) { Hieracles::Puppetdb::APIError.new response }
    it { expect(error.response).to eq response }
  end
  
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hieracles-0.4.2 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.4.1 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.4.0 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.3.6 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.3.5 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.3.4 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.3.3 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.3.2 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.3.1 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.3.0 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.2.2 spec/lib/puppetdb/apierror_spec.rb
hieracles-0.2.1 spec/lib/puppetdb/apierror_spec.rb