This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
"use strict"; | |
describe('indexController', function() { | |
beforeEach(module('my-module')); | |
var scope, ctrl; | |
beforeEach(inject(function($rootScope, $controller) { | |
scope = $rootScope.$new(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i -H "Accept: application/json" localhost:8080/rest-app2/users | |
HTTP/1.1 200 OK | |
Server: Apache-Coyote/1.1 | |
Content-Type: application/json;charset=UTF-8 | |
Transfer-Encoding: chunked | |
Date: Sat, 22 Mar 2014 21:55:29 GMT | |
[{"class":"rest.app2.User","id":1,"firstName":"Jane","lastName":"Doe"},{"class":"rest.app2.User","id":2,"firstName":"John","lastName":"Doe"},{"class":"rest.app2.User","id":3,"firstName":"Daffy","lastName":"Duck"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>demo.project</groupId> | |
<artifactId>test-project</artifactId> | |
<version>0.0.1</version> | |
<parent> |