Skip to content

Commit

Permalink
added exceptions_spec.rb test
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Sep 4, 2014
1 parent d086d39 commit f788178
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/exceptions_spec.rb
@@ -0,0 +1,13 @@
#! /usr/bin/env rspec

require_relative "spec_helper"

require "registration/exceptions"

describe Registration::ServiceError do

it "is a PkgError exception" do
expect(Registration::ServiceError.new("failed", "ServiceFoo")).to be_a(Registration::PkgError)
end

end

0 comments on commit f788178

Please sign in to comment.