Sha256: 26c8bee56d4d99d5fc3c604165074dad726082e07433df0fcafb7e4953e5a186
Contents?: true
Size: 427 Bytes
Versions: 3
Compression:
Stored size: 427 Bytes
Contents
require 'spec_helper' require 'catlogic' describe 'quality object' do it 'can return quality as string' do quality = Catlogic::Quality.new('affirmative') result = quality.label result.should == 'affirmative' end it 'can return term opposite as string' do quality = Catlogic::Quality.new('affirmative') opposite = quality.opposite result = opposite.label result.should == 'negative' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
catlogic-1.1.0 | spec/quality_spec.rb |
catlogic-1.0.0 | spec/quality_spec.rb |
catlogic-0.0.3 | spec/quality_spec.rb |