Hi all
I am writing a jasmine unit test cases for http GET method, so for that I 
had done something like this:

describe('show user lists', function() {

        it('sends a http request to user details page', function() {        
  

            $httpBackend.when('GET', SERVER_USERS_PATH + 
'/user').respond(200);            

                expect(userList).toBe(1);          

        });

    });

But my test case is failing. I want to check the http status response. 

-- 
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.

Reply via email to