S
soniya
Guest
I am new to grails.In my app I have a controller method
def promofilter(){
//call to a service containing createCriteria
render(view:"expiryList",model:[promotions : promotionsHash["promotions"]])
}
I can test this using spock unit test by using renderArgs view..How can I test this method using spock integration test?
def promofilter(){
//call to a service containing createCriteria
render(view:"expiryList",model:[promotions : promotionsHash["promotions"]])
}
I can test this using spock unit test by using renderArgs view..How can I test this method using spock integration test?