spec/zenlish/feature/identifier_domain_spec.rb in zenlish-0.2.05 vs spec/zenlish/feature/identifier_domain_spec.rb in zenlish-0.2.06
- old
+ new
@@ -16,12 +16,12 @@
context 'Provided services:' do
it 'should know whether a value is in domain' do
expect(subject.include?('CommonForm')).to be_truthy
expect(subject.include?('Common Form')).to be_falsey
expect(subject.include?('+123')).to be_falsey
- end
-
+ end
+
it 'should provide a factory method for identifier values' do
expect(subject.build_value('CommonForm')).to be_kind_of(IdentifierValue)
expect(subject.build_value('Common_Form')).to be_kind_of(IdentifierValue)
end
@@ -31,6 +31,6 @@
expect { subject.build_value('?1234') }.to raise_error(err, err_msg)
end
end # context
end # describe
end # module
-end # module
\ No newline at end of file
+end # module