Sha256: 7f06675ab8552370ae81a8127fbe96ee87129c887decb863cb54d58f1535f060
Contents?: true
Size: 392 Bytes
Versions: 2
Compression:
Stored size: 392 Bytes
Contents
require 'spec_helper' require 'katapult/element' describe Katapult::Element do subject { described_class.new('element') } describe '#name' do it 'raises an error when passed an unknown formatting kind' do expect do subject.name(:foobar) end.to raise_error(Katapult::Element::UnknownFormattingError, 'Unknown name formatting: :foobar') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
katapult-0.1.2 | spec/element_spec.rb |
katapult-0.1.1 | spec/element_spec.rb |