Improve test #2741

This commit is contained in:
Martin Lensment 2015-07-02 13:08:05 +03:00
parent ec5a219456
commit e2374f9702

View file

@ -70,6 +70,8 @@ describe Pricelist do
end
it 'should return correct price' do
expect { Pricelist.price_for('ee', 'create', '1year') }.to raise_error(NoMethodError)
Fabricate(:pricelist, {
category: 'ee',
operation_category: 'create',