Sha256: 2d7b7e23e4479a516c600ca1db98467ed3af1ed0880a8bf0da2f7d96cb956198

Contents?: true

Size: 271 Bytes

Versions: 4

Compression:

Stored size: 271 Bytes

Contents

# -*- encoding: utf-8 -*-

require './spec/helper'

describe ClassTag do

  it "should raise error if class is unknown" do
    tag = {'class' => 'unknown'}
    ct = ClassTag.new 'mock', 'mock', 'mock', tag
    lambda{ct.process}.should raise_error(SystemExit)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
genit-2.1 spec/class_tag_spec.rb
genit-2.0 spec/class_tag_spec.rb
genit-1.0.1 spec/class_tag_spec.rb
genit-1.0 spec/class_tag_spec.rb