spec/term_spec.rb in catlogic-0.0.2 vs spec/term_spec.rb in catlogic-0.0.3

- old
+ new

@@ -2,31 +2,31 @@ require 'catlogic' require 'pry' describe 'term object' do it 'can return term as string' do - term = Term.new('dogs') + term = Catlogic::Term.new('dogs') result = term.label result.should == 'dogs' end it 'can return term opposite as string' do - term = Term.new('dogs') + term = Catlogic::Term.new('dogs') opposite = term.opposite result = opposite.label result.should == 'non-dogs' end it 'can return correct distribution for subject term' do - term = Term.new('dogs') - quantity = Quantity.new('universal') + term = Catlogic::Term.new('dogs') + quantity = Catlogic::Quantity.new('universal') result = term.distribution_subject(quantity) result.label.should == 'distributed' end it 'can return correct distribution for predicate term' do - term = Term.new('dogs') - quality = Quality.new('affirmative') + term = Catlogic::Term.new('dogs') + quality = Catlogic::Quality.new('affirmative') result = term.distribution_predicate(quality) result.label.should == 'undistributed' end \ No newline at end of file