Sha256: 487c5ddc8149cf3a695f309bc5fc4b7d917fdbeaacb5d0c5af3ab326113b8d66

Contents?: true

Size: 349 Bytes

Versions: 2

Compression:

Stored size: 349 Bytes

Contents

require 'turntables/turntable_exception'

describe TurntableException do 

  before(:each) do
    @te = TurntableException.new
  end

  it "Should be an instance of runtime error" do
    @te.should be_a_kind_of(RuntimeError)
  end

  it "should be an instance of TurntableException" do
    @te.should be_an_instance_of(TurntableException)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
turntables-1.0.3 spec/turntable_exception_spec.rb
turntables-1.0.1 spec/turntable_exception_spec.rb