mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Improve test #2741
This commit is contained in:
parent
ec5a219456
commit
e2374f9702
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ describe Pricelist do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should return correct price' do
|
it 'should return correct price' do
|
||||||
|
expect { Pricelist.price_for('ee', 'create', '1year') }.to raise_error(NoMethodError)
|
||||||
|
|
||||||
Fabricate(:pricelist, {
|
Fabricate(:pricelist, {
|
||||||
category: 'ee',
|
category: 'ee',
|
||||||
operation_category: 'create',
|
operation_category: 'create',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue