How to use Spock integration testing for the render view in controllers?

S

soniya

Guest
I am new to grails.In my grails application I have a controller method

def propertyPromo(){
//calls a method in service with a createCriteria()
// This method finally returns a render view
render(view: "propertyPromo", model: [promotions: promotionsHash["promotions"]])
}


I am able to test this method using spock unit test using the renderArgs .How can I test this method using spock's integration test.
 
Top