Better tests

This commit is contained in:
2014-12-05 14:48:20 +01:00
parent 3941529d0d
commit 1a3f528731
11 changed files with 59 additions and 43 deletions
@@ -3,7 +3,7 @@ class UserExtendedSupplierSerializer < Qwaiter::Serializer
embed :ids, include: true
attributes :extended_version, :open, :name, :orders_in_process_count, :orders_placed_count
has_many :product_categories
has_many :products
#has_many :products only product in category!!!!!!
def extended_version
true