Sha256: 08fedac403962a055f958af086dd54f716c87607a29a374148bc242725048007

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'
require 'aquarium/spec_example_types'
require 'aquarium/utils/logic_error'

# This doesn't do much..., except make rcov happy, since this exception is essentially for catching bugs.
describe Aquarium::Utils::LogicError, ".new" do
  it "should return an exception object" do
    Aquarium::Utils::LogicError.new.kind_of?(Exception).should be_true 
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aquarium-0.5.1 spec/aquarium/utils/logic_error_spec.rb
aquarium-0.4.4 spec/aquarium/utils/logic_error_spec.rb
aquarium-0.4.3 spec/aquarium/utils/logic_error_spec.rb