Sha256: 90f13336d337cbdc8a5db787ee3acdf7bbb6e02c69ca6efa4676bc0e248ffaa0

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 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(RuntimeError)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
genit-0.99 spec/class_tag_spec.rb
genit-0.9 spec/class_tag_spec.rb