Sha256: 3ec0369894c7ac13d32846bb81c3352dc87757a8cd5095edbeaddc3a2c448906
Contents?: true
Size: 311 Bytes
Versions: 10
Compression:
Stored size: 311 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
10 entries across 10 versions & 1 rubygems