component extends="testbox.system.BaseSpec" accessors="true"{ function beforeAll(){ } function run( testResults, testBox ){ feature( "Get a Count of Responses", function() { describe("I want to know how many responses we have in the system" , function() { scenario( "Get all Response counts", function(){ given( "I have a Survey ID",function() { variables.resultsService = new model.services.resultsService(); when("I run the request the for the survey response count", function() { count = variables.resultsService.countResponses(1); then("then I should get a struct", function() { expect(count).toBeStruct(); }); }); }); }); }); }); } }