Sha256: d6ffea0c3cdcb65056c96048f1ca18d3ad5b3751377c7a6e2d945d3b7210a144

Contents?: true

Size: 215 Bytes

Versions: 18

Compression:

Stored size: 215 Bytes

Contents

describe Moneta::Api::ConnectionException do
  describe '.to_hash' do
    let(:message) { 'error' }

    subject { described_class.new(message).to_hash }

    its([:message]) { is_expected.to eq message }
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
moneta-api-2.1.0 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-2.0.0 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-2.0.0.rc2 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-2.0.0.rc1 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.13.0 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.12.8 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.12.7 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.12.6 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.12.5 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.12.4 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.12.3 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.12.2 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.12.1 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.12.0 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.11.0 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.10.0 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.9.0 spec/lib/moneta/api/connection_exception_spec.rb
moneta-api-1.8.0 spec/lib/moneta/api/connection_exception_spec.rb