The short version is, you don't. You're trying to use the wrong tool for this job. You should look into Protractor.
That being said, you can replace the $httpBackend instance using dependency injection. That might work. On Tuesday, March 4, 2014 12:40:59 PM UTC-8, Diego Varela wrote: > > For integration tests, I need do real $http requests, preventing using > $httpBackend or e2e tests. > Is it possible? > How could I achieve this? > > Thanks in advance. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
