Commit Graph

488 Commits

Author SHA1 Message Date
Rajan Agaskar da49a0ce40 README update 2010-02-24 19:58:56 -08:00
Josh Susser 80d67d49a0 Bump version to 0.10.1 2010-02-24 19:45:30 -08:00
Josh Susser 6ca766d5ea Update isArray_ function and add test coverage 2010-02-24 19:35:32 -08:00
Josh Susser 5e3eb884ca Fix message bug with wasCalledWith. Throw on bad arguments to createSpyObj 2010-02-24 19:27:43 -08:00
Christian Williams aef78b1ef1 MORE MARKDOWN LIES!!! 2010-02-20 14:46:26 -05:00
Christian Williams f1f5d8de7d GitHub's markdown previewer LIES! 2010-02-20 14:45:40 -05:00
Christian Williams 535d9abce0 Update docs about Matchers to use addMatcher(). 2010-02-20 14:44:58 -05:00
Christian Williams 8679090bf3 Convert tabs to spaces. 2010-02-20 14:08:45 -05:00
ragaskar b12605274d Minor css bugfix, doc update 2010-01-27 19:19:30 -08:00
ragaskar db1c6e659d Updated ruby contrib so that CI task now compatible with Prototype 2010-01-23 13:50:44 -08:00
Davis W. Frank & Rajan Agaskar d72b18c47b README updates 2010-01-04 14:57:05 -08:00
Rajan Agaskar 81c2779731 HTML example name refactor 2009-12-30 17:03:02 -08:00
David Goudreau & Rajan Agaskar 163f5977a5 making jasmine know about ci 2009-12-28 16:45:01 -08:00
David Goudreau & Rajan Agaskar 99ab1f0e81 Remove saucelabs.yml copying 2009-12-28 16:32:20 -08:00
David Goudreau & Rajan Agaskar 02db3338fb Add gems:geminstaller task 2009-12-28 16:19:39 -08:00
David Goudreau & Rajan Agaskar ca841c9248 Adding geminstaller as build dependency 2009-12-28 16:02:09 -08:00
David Goudreau & Rajan Agaskar c78460289a trying to get saucelabs ci build to work 2009-12-28 15:45:15 -08:00
Christian Williams a16cbe7e5b Remove contrib dir. 2009-12-27 11:53:46 -06:00
Christian Williams e986b024bc Update generated files. 2009-12-25 14:19:27 -05:00
Christian Williams bef9867b61 Merge branch 'master' of git@github.com:pivotal/jasmine 2009-12-25 11:41:07 -05:00
Christian Williams d16e2b7992 Add partial support for not -- e.g. expect(xxx).not.toEqual(yyy). Old-style custom matchers not yet supported. 2009-12-24 17:01:13 -05:00
Christian Williams 20a00d517e Refactor toThrow matcher. 2009-12-24 13:41:28 -05:00
Christian Williams 9f247eb278 Custom matchers may now work like regular matchers -- just return a boolean, don't call this.report(). The old style still works but is deprecated. 2009-12-24 12:15:18 -05:00
Christian Williams b99bd08df9 Yes, really keep that undefined equals. 2009-12-24 12:11:59 -05:00
Christian Williams 72b5ede0da Move custom matcher specs to their own suite. 2009-12-24 10:53:57 -05:00
ragaskar 21998dcb9d Update Jasmine geminstaller to use gemcutter gems 2009-12-23 21:29:34 -08:00
ragaskar ba8c16acd7 Rebuild jasmine, add rest-client to geminstaller (req'd by saucelabs-adapter 2009-12-23 07:38:18 -08:00
Fabio M. Costa dd5e97bf14 with this fix jasmine runs on ie6
(cherry picked from commit 33a3b769e2b28aab01c1d6ee216c55e12539f417)
2009-12-23 07:14:47 -08:00
Nathan Wilmes & Davis W. Frank d90852336f Added wasNotCalledWith matcher, used argsForCall a bit less 2009-12-21 11:45:49 -08:00
Nate Clark 849a4efda8 adds support to run Jasmine suites on CI using Sauce Labs 2009-12-16 17:27:06 -08:00
Christian Williams 40ff1cb4c8 Merge branch 'safe-undefined' of git@github.com:pivotal/jasmine 2009-11-27 15:30:56 -05:00
Christian Williams 23c5289b7e Fix regexp pretty printing for Chrome. 2009-11-27 15:27:52 -05:00
Christian Williams 7653107f0c Use jasmine.undefined for all comparisons to the undefined value, since undefined itself may be redefined elsewhere
in app code.  Thanks to Charlie Meyer at UIUC for the suggestion.
2009-11-26 11:12:06 -05:00
Christian Williams 2cb5bf146c rake jasmine:build no longer builds docs; use default for that. 2009-11-26 10:41:10 -05:00
Christian Williams 4ebc3b5964 Update. 2009-11-26 10:29:50 -05:00
Joseph Palermo 701ee719e6 Fix loop so it works with extra methods added to Array 2009-11-22 22:18:53 -08:00
ragaskar f99a5ff577 Merge branch 'matcher-refactor' of git://github.com/Xian/jasmine into xian_jasmine 2009-11-19 19:21:47 -08:00
Christian Williams 1a53838d97 Wrap base matchers from jasmine.Matcher prototype automatically at env instantiation time rather than manually. 2009-11-13 14:32:08 -05:00
Christian Williams 2fc78a0fe2 Moved last message formatting functions to be set up by matcher test function. 2009-11-13 13:34:10 -05:00
Christian Williams 60ea562560 Reuse an 'it' block. 2009-11-13 13:21:40 -05:00
Christian Williams b0326d3078 Reorganizing spy matcher specs. 2009-11-13 12:30:22 -05:00
Christian Williams 752b91f118 Reorganizing spy matcher specs. 2009-11-13 12:21:34 -05:00
Christian Williams b0ae461139 Nicer pretty printing of spy objects. 2009-11-12 16:49:48 -05:00
Christian Williams ee5905d237 Fix html escaping of matcher failure messages. 2009-11-12 16:13:44 -05:00
Christian Williams 5a8a050c46 Removed toMatch and toNotMatch's message functions, now sufficiently handled by the default message builder. 2009-11-12 15:43:49 -05:00
Christian Williams 7be8247b2f Fix pretty printing of RegExp objects. 2009-11-12 15:37:52 -05:00
Jared Grippe 2881a645a5 fixed two typos in README 2009-11-13 04:13:59 +08:00
Christian Williams 98e86817bf Fix wasCalledWith matcher. 2009-11-12 15:03:55 -05:00
Christian Williams 3b92b9bb79 Remove message function from matchers where a formulaic message is good enough. 2009-11-12 14:36:58 -05:00
Christian Williams 1b3545c82a Remove 'actual' param from matchers test and message functions. Use this.actual instead. This way, the signature of the test function matches how the matcher is called from a spec.
Spy matchers now throw an exception when called with non-spies, rather than returning false.  This makes the message function simpler, and will work better with future dot-not support.
Added better specs for error conditions on spy matchers.
2009-11-12 12:47:44 -05:00