Sha256: a6e2a24c08d355f022e9fe392e4bd397bd521acad71264cb4916e41240c12e63

Contents?: true

Size: 238 Bytes

Versions: 15

Compression:

Stored size: 238 Bytes

Contents

require 'spec_helper'

describe Notu::NetworkError do

  let(:error) { Notu::NetworkError.new('BAM!') }

  describe '#message' do

    it 'is message set at initialization' do
      expect(error.message).to eq('BAM!')
    end

  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
notu-1.0.2 spec/notu/network_error_spec.rb
notu-1.0.1 spec/notu/network_error_spec.rb
notu-1.0.0 spec/notu/network_error_spec.rb
notu-0.3.1 spec/notu/network_error_spec.rb
notu-0.3.0 spec/notu/network_error_spec.rb
notu-0.2.2 spec/notu/network_error_spec.rb
notu-0.2.1 spec/notu/network_error_spec.rb
notu-0.2.0 spec/notu/network_error_spec.rb
notu-0.1.6 spec/notu/network_error_spec.rb
notu-0.1.5 spec/notu/network_error_spec.rb
notu-0.1.4 spec/notu/network_error_spec.rb
notu-0.1.3 spec/notu/network_error_spec.rb
notu-0.1.2 spec/notu/network_error_spec.rb
notu-0.1.1 spec/notu/network_error_spec.rb
notu-0.1.0 spec/notu/network_error_spec.rb