Skip to content

Instantly share code, notes, and snippets.

<!doctype html>
<html ng-app="myApp">
<head>
<title>Simple App</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular.js"></script>
</head>
<body>
<div ng-controller="SomeController">
<input type="text"
@eriktrom
eriktrom / test.coffee
Last active December 17, 2015 18:19 — forked from fayimora/test.coffee
"use strict"
beforeEach ->
Ember.testing = true
afterEach ->
App.reset()
describe "App.ApplicationController", ->
App = require 'app'
require 'models/provider'
require 'stores/provider'
# Sample test case
describe 'Provider', ->
describe '#create()', ->
# essentially this is testing that our configuration is working
# so somewhat of a redundant test
it 'should return a new Provider record matching input', ->