Sha256: af3bc0a82780c4af99b91f0edb824d5a6358e8f0b311f7f52103dddb285d2269
Contents?: true
Size: 265 Bytes
Versions: 3
Compression:
Stored size: 265 Bytes
Contents
require "spec_helper" describe Agent::Error do before do @error = Agent::Error.new("msg") end it "should create an error" do @error.to_s.should == "msg" end it "should match the error's message" do @error.should be_message("msg") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
agent-0.10.0 | spec/error_spec.rb |
agent-0.9.1 | spec/error_spec.rb |
agent-0.9.0 | spec/error_spec.rb |