Sha256: d307a049b8e04d36c98a562d3ad7770de42a777ab92abb4c6c0b3e008bd7d68d

Contents?: true

Size: 307 Bytes

Versions: 16

Compression:

Stored size: 307 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe YouGotListed::Error do

  it "should set a message" do
    @error = YouGotListed::Error.new(300, 'Account retrieving failed.')
    @error.message.should == "YouGotListed Error: Account retrieving failed. (code: 300)"
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
you_got_listed-0.7.2 spec/you_got_listed/error_spec.rb
you_got_listed-0.7.1 spec/you_got_listed/error_spec.rb
you_got_listed-0.7.0 spec/you_got_listed/error_spec.rb
you_got_listed-0.6.6 spec/you_got_listed/error_spec.rb
you_got_listed-0.6.5 spec/you_got_listed/error_spec.rb
you_got_listed-0.6.4 spec/you_got_listed/error_spec.rb
you_got_listed-0.6.3 spec/you_got_listed/error_spec.rb
you_got_listed-0.6.2 spec/you_got_listed/error_spec.rb
you_got_listed-0.6.1 spec/you_got_listed/error_spec.rb
you_got_listed-0.6.0 spec/you_got_listed/error_spec.rb
you_got_listed-0.5.1 spec/you_got_listed/error_spec.rb
you_got_listed-0.5.0 spec/you_got_listed/error_spec.rb
you_got_listed-0.4.0 spec/you_got_listed/error_spec.rb
you_got_listed-0.3.6 spec/you_got_listed/error_spec.rb
you_got_listed-0.3.5 spec/you_got_listed/error_spec.rb
you_got_listed-0.3.4 spec/you_got_listed/error_spec.rb