Sha256: 3c9a88406248d46927d3bccc74392c8e525fe5b764229ade949c407ca34ccdb4

Contents?: true

Size: 221 Bytes

Versions: 1

Compression:

Stored size: 221 Bytes

Contents

# encoding: utf-8

require_relative '../spec_helper'

describe "Errors" do
  it "should have an error for unauthorized users" do
    error = Riksteatern::UnauthorizedUser
    -> { raise error }.must_raise error
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
riksteatern-0.0.1 spec/riksteatern/errors_spec.rb