Sha256: 2cbcc787426c28ce96628b4b9d6e4bd6c4248d8abe8dc2757969d1fe4e46b380

Contents?: true

Size: 427 Bytes

Versions: 4

Compression:

Stored size: 427 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'
require File.dirname(__FILE__) + '/../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

4 entries across 4 versions & 1 rubygems

Version Path
aquarium-0.4.0 spec/aquarium/utils/logic_error_spec.rb
aquarium-0.4.2 spec/aquarium/utils/logic_error_spec.rb
aquarium-0.3.1 spec/aquarium/utils/logic_error_spec.rb
aquarium-0.4.1 spec/aquarium/utils/logic_error_spec.rb