Sha256: 1f545159797f97fe6d0eccca336c1ec250e364d38253725018b0d125c1b8f4d4
Contents?: true
Size: 426 Bytes
Versions: 4
Compression:
Stored size: 426 Bytes
Contents
require "test_helper" class MonkeyParty::ErrorTest < Test::Unit::TestCase context "An error" do setup do error_body = File.read(xml_fixture_path("login_failed")).gsub(/.*<MCAPI/m, "<MCAPI") @error = MonkeyParty::Error.parse(error_body) end should "have a code" do assert_not_nil @error.code end should "have an error message" do assert_not_nil @error.message end end end
Version data entries
4 entries across 4 versions & 2 rubygems