spec/zenlish/inflect/equals_literal_spec.rb in zenlish-0.2.00 vs spec/zenlish/inflect/equals_literal_spec.rb in zenlish-0.2.01
- old
+ new
@@ -14,10 +14,10 @@
let(:an_argument) { FormalArgument.new(1) }
let(:feat_val) { :plural }
subject { EqualsLiteral.new(an_argument, feat_val) }
context 'Initialization:' do
- it 'should be initialized with a method name' do
+ it 'should be initialized with a formal argument and a literal' do
expect { EqualsLiteral.new(an_argument, feat_val) }.not_to raise_error
end
it 'should know its argument' do
expect(subject.argument).to eq(an_argument)