Typo in toHaveRemovedListener, toHaveAddedManagedListener and toHaveRemovedManagedListener

There is what i'm assuming is a typo in toHaveRemovedListener, toHaveAddedManagedListener and toHaveRemovedManagedListener. Instead of passing 'actual' to the listenedMatcher, 'this.actual' is gett...

Id #35 | Release: Ext Spec 2.0.1 | Updated: Feb 11, 2015 at 7:35 AM by Qube | Created: Feb 10, 2015 at 2:05 PM by rkleinkromhof

Support Jasmine 2.0

Switch over to Jasmine 2.0 now that the stable version has been released. This is a breaking change due to he new Jasmine APIs, and will require a new major version of Ext Spec. Users of Jasmin...

Id #34 | Release: Ext Spec 2.0.0 | Updated: Oct 27, 2014 at 6:50 AM by Qube | Created: Feb 8, 2014 at 11:33 PM by Qube

ExtSpec should check for existence of console.log

Some headless browsers don't have the 'console' global, and ExtSpec assumes it exists. I currently work around this by creating a noop definition for console.log and console.warn before loading Ext...

Id #33 | Release: Ext Spec 1.3.1 | Updated: Jul 30, 2013 at 7:07 AM by Qube | Created: Jul 26, 2013 at 4:01 PM by dcstraw

There is no simple way to test constructors that invoke inherited instance methods

From dcstraw: How can I support configs in my classes that I'm creating specs for when they have a custom constructor? The call to initConfig throws an error because that method doesn't exist. I d...

Id #32 | Release: Ext Spec 1.3.0 | Updated: Jun 21, 2013 at 8:12 AM by Qube | Created: Jun 19, 2013 at 9:35 AM by Qube

Add createFluentSpyObject Helper

Add a helper similar to jasmine.createSpyObj that will create spies that automatically return the root object. Also enable a "fluent" action to the other helpers that accept spy configuration.

Id #31 | Release: Ext Spec 1.2.0 | Updated: May 2, 2013 at 9:46 AM by Qube | Created: May 2, 2013 at 9:38 AM by Qube

Add support for MVCS aliases

In Ext 4.2, it's possible to create a shorthand alias for model, view, controller and store configs. http://docs.sencha.com/ext-js/4-2/source/Controller2.html#Ext-app-Controller-method-getFullName...

Id #30 | Release: Ext Spec 1.2.0 | Updated: Apr 15, 2013 at 10:03 AM by Qube | Created: Mar 26, 2013 at 12:53 AM by Qube

Relax event binding matchers

Make event binding matchers so that they will pass simply with the event name. This allows for less fragile tests, where the exact method bound is considered a private implementation detail. Also...

Id #29 | Release: Ext Spec 1.2.0 | Updated: May 2, 2013 at 9:45 AM by Qube | Created: Mar 12, 2013 at 8:21 AM by Qube

Add toHaveBeenCalledWithConfig matcher

Add a new Jasmine matcher that will do a shallow comparison between keys in an object. This is to match common Ext scenarios where a configuration object literal is the first or second argument pas...

Id #28 | Release: Ext Spec 1.2.0 | Updated: Mar 12, 2013 at 8:24 AM by Qube | Created: Mar 12, 2013 at 8:14 AM by Qube

Bug: createSpyObject functions don't work with event matchers

When using jasmine.createSpyObject to create spies, event binding matchers like "toHaveBoundEvent" fail with the message: "Expected spy to be an event binder"

Id #27 | Release: Ext Spec 1.2.0 | Updated: Mar 12, 2013 at 9:02 AM by Qube | Created: Mar 12, 2013 at 8:08 AM by Qube

Defend against real Ext

It's currently possible to run real Ext and Ext Spec at the same time. For example, if there is a /// <reference /> to Ext JS for the sake of intellisense in the class under test, it will overwrite...

Id #26 | Release: Ext Spec 1.2.0 | Updated: Mar 12, 2013 at 8:23 AM by Qube | Created: Feb 17, 2013 at 2:43 AM by Qube