This file contains hidden or 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
<!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" |
This file contains hidden or 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
"use strict" | |
beforeEach -> | |
Ember.testing = true | |
afterEach -> | |
App.reset() | |
describe "App.ApplicationController", -> |
This file contains hidden or 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
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', -> |
NewerOlder