Rajan Agaskar
a1ed56741b
Merge pull request #193 from slackersoft/spy_called_with_messages
...
less confusing messages for toHaveBeenCalledWith
2012-10-05 17:53:11 -07:00
Rajan Agaskar
b6fb23b069
Merge pull request #254 from jcracknell/nan-matcher
...
Added toBeNaN matcher
2012-10-05 17:31:36 -07:00
PLOE09
f2b25f1780
Add JSDoc @return-tag to 'spyOn' and 'expect' functions support
...
code completion in Spket IDE
2012-09-14 16:36:32 +02:00
Davis W. Frank
107463ad57
Merge pull request #251 from doochik/patch-1
...
update jsdoc for jasmine.Matchers.prototype.toThrow
2012-09-02 17:40:51 -07:00
Davis W. Frank
39a55d8f10
Merge pull request #257 from kevinoid/no-window-or-exports
...
Don't assume exports is defined when window is undefined
2012-09-02 17:40:16 -07:00
Rajan Agaskar
4b48dc1069
Merge pull request #260 from rgould/master
...
Guarantee that afterEach and after blocks are always run
2012-09-01 13:05:41 -07:00
Dave Burt
7e04571ec0
Change toBeCloseTo matcher to be more consistent.
...
It now calculates and compares a difference, rather than rounding
two separate quantities and testing for their equality.
2012-07-31 15:03:55 +10:00
rgould
1c2e50d244
Add 'ensured' blocks to the queue.
...
This blocks will be run even when a preceeding block sets the abort
flag. This is so that we can support afterEach calls running when the
spec fails due to a timeout.
2012-07-24 18:45:30 -04:00
Kevin Locke
442f3bf872
Don't assume exports is defined when window is undefined
...
The current code makes the assumption that if window is undefined it is
being run in an environment which supports the CommonJS Modules spec.
This is not the case when Jasmine is being run in rhino or SpiderMonkey
(smjs) without EnvJS.
The fix is simply to check that exports is an object.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name >
2012-07-19 14:10:39 -06:00
James Cracknell
f910df00bb
Added toBeNaN matcher
2012-07-12 20:04:14 -06:00
Alexey Androsov
500b856cfa
update jsdoc for jasmine.Matchers.prototype.toThrow
...
expected argument is optional
2012-07-10 15:12:32 +04:00
Alex Kwiatkowski
2385acedd8
Add config option which stops jasmine from capturing exceptions in a test
2012-06-23 23:12:31 -04:00
Davis W. Frank
3a0ada034b
Move sources order to Ruby, which is where it's used.
2012-04-01 11:28:57 -07:00
gvanhove
a3ccd8b0d3
less confusing messages for toHaveBeenCalledWith
2012-03-02 19:28:15 -08:00
Edward Tsech
551464b8d2
Remove double negative in docs (not.toNotContain, not.toNotEqual)
2012-01-04 16:21:54 +01:00
gvanhove
ac096f9911
convert objectContaining to use jasmineMatches and jasmineToString
2011-11-14 18:29:30 -08:00
gvanhove
67ec0af254
use jasmineMatches for equality testing of complicated matchers
2011-11-14 18:29:30 -08:00
gvanhove
4f2fcff15a
Use jasmineToString for printing out complicated matchers
2011-11-14 18:29:30 -08:00
gvanhove
7158fc2426
Rename hashContaining to objectContaining, since this is javascript. Also call the toString from prettyPrinter
2011-11-14 18:26:48 -08:00
gvanhove
992367dcbc
New matcher "hashContaining" similar to rspec's hash_including
2011-11-14 18:26:48 -08:00
ragaskar
6b5956724b
Version bump to rc4
2011-09-01 07:26:07 -04:00
Davis W. Frank
c0664dd6aa
merge
2011-06-20 08:46:37 -07:00
ragaskar
30431a3958
Gem-ize jasmine
...
[Finishes #13128217 ]
2011-06-17 21:01:42 -04:00
Davis W. Frank
ae24e00c0f
Support for release candidates in the version.json file; propagates up through the version string everywhere: filenames, ZIP, source code
2011-06-15 18:37:12 -07:00
Davis W. Frank
e59171935f
breaking up distribution tasks; moving version to a template to have a simpler concat function
2011-06-14 08:30:14 -07:00
Davis W. Frank
f83cb7f766
Runner.html is now generated (ensures all source & specs get tested); beginnings of refactoring of Rake tasks.
2011-06-09 19:24:51 -07:00
Davis W. Frank
e88d88e427
Move all core files into src/core.
...
Move Browser & Node specs to test against lib/jasmine.js instead of the separate source. Yes, this makes development a little harder but it's better to test that jasmine.js was built correctly.
2011-06-05 21:28:26 -07:00