def test_get_data_from_existing_brand(self): attr = BrandFactory.attributes() data = brand.create(attr) b = brand.get(data.uid) expect(b.name).to_equal(data.name)
def test_create_brand_should_work(self): attr = BrandFactory.attributes() b = brand.create(attr) expect(b.name).to_equal(attr.get("name"))