Skip to content

Instantly share code, notes, and snippets.

View ccit-spence's full-sized avatar
💭
I may be slow to respond.

ccit-spence

💭
I may be slow to respond.
View GitHub Profile
<?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>
@ccit-spence
ccit-spence / 1
Last active August 29, 2015 13:57
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"}]
(function () {
"use strict";
describe('indexController', function() {
beforeEach(module('my-module'));
var scope, ctrl;
beforeEach(inject(function($rootScope, $controller) {
scope = $rootScope.$new();