angular.js/test
Elliott Sprehn e7e894a2e3 Significantly clean up the way the scenario DSL works and implement many more DSL statements.
- "this" always means the current chain scope inside a DSL

- addFutureAction callbacks now take ($window, $document, done)

- $document has a special method elements() that uses the currently selected nodes in the document as defined by using() statements.

- $document.elements() allows placeholder insertion into selectors to make them more readable.
  ex. $document.elements('input[name="$1"]', myVar) will substitute the value of myVar for $1 in the selector. Subsequent arguments are $2 and so on.

- $document.elements() results have a special method trigger(event) which should be used to events. This method implements some hacks to make sure browser UI controls update and the correct angular events fire.

- futures now allow custom formatting. By default any chain that results in a future can use toJson() or fromJson() to convert the future value to and from json. A custom parser can be provided with parsedWith(fn) where fn is a callback(value) that must return the parsed result.

Note: The entire widgets.html UI is now able to be controlled and asserted through DSL statements!!! Victory! :)
2010-10-19 00:45:38 -07:00
..
scenario Significantly clean up the way the scenario DSL works and implement many more DSL statements. 2010-10-19 00:45:38 -07:00
angular-mocks.js fixing reference issue in angular-mocks.js 2010-10-13 17:42:55 -07:00
AngularSpec.js improving angular.copy spec 2010-10-16 22:10:01 -07:00
ApiSpecs.js adding an extra DateToUTC assertion 2010-10-16 21:31:23 -07:00
BinderTest.js fix memory leak caused by leftbehind $invalidWidgets references 2010-10-13 04:37:46 +08:00
BrowserSpecs.js Reworked the cookie synchronization between cookie service, $browser and document.cookie. 2010-09-27 15:10:05 -07:00
CompilerSpec.js Fixed issue where compiler would pass in detached text node if previous markup would have removed it. 2010-10-12 21:52:04 -07:00
ConsoleTest.js tests failing jstd to show cory 2010-04-08 13:43:40 -07:00
directivesSpec.js fixed issue where ng:bind would not reset value if expression returned undefined 2010-10-13 10:51:16 -07:00
FiltersSpec.js fixing css class name for currency filter and its spec 2010-10-18 16:24:43 -07:00
FormattersTest.js Updated JSTD 2010-10-15 11:58:55 -07:00
InjectorSpec.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
jquery_alias.js happy 2010-05-24 13:54:32 -07:00
jquery_remove.js happy 2010-05-24 13:54:32 -07:00
JsonSpec.js JSON parser is now strict (ie, expressions are not allowed for security) 2010-10-18 08:50:36 -07:00
markupSpec.js fixed test for ng:src which fails on IE, since IE treats undefined src as url to the current page. 2010-09-21 10:37:12 +02:00
ParserSpec.js JSON parser is now strict (ie, expressions are not allowed for security) 2010-10-18 08:50:36 -07:00
ResourceSpec.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
ScenarioSpec.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
ScopeSpec.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
servicesSpec.js Removed $location.cancel() method (and related test) 2010-10-18 14:13:48 -07:00
testabilityPatch.js fixed lint warnings and one flaky test 2010-10-15 13:44:53 -07:00
ValidatorsTest.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
widgetsSpec.js attempting to fix ie on jquery build failure 2010-10-16 22:08:58 -07:00