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
1771ec3c63
Add checkbox to test runner which toggles catching of exceptions during tests
2012-06-24 00:02:52 -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
ragaskar
b6f96bc121
Version 1.2.0
...
- Bump version
- Update pages submodule
2012-05-14 07:35:47 -07:00
ragaskar
fbbccf6ef7
Bump to 1.2.0.rc3
2012-04-04 09:48:00 -07:00
ragaskar
7ad75c13d4
Fix Matchers.any specs in Firefox
...
- Firefox adds whitespace to the resulting to_string function, necessary
to remove it for the match to occur correctly.
2012-04-04 08:41:59 -07:00
Davis W. Frank
d46ca4f506
correct for 1.2.0.rc2
2012-04-03 15:35:08 -07:00
Davis W. Frank
e22c4492a5
release prep for 1.2.0.rc1
2012-04-02 18:34:59 -07:00
Davis W. Frank
6e22754c10
1.2.0.rc1 commit
2012-04-01 13:19:24 -07:00
Davis W. Frank
ad78d0d0d8
Fixed bug where version for Ruby gem wasn't correct
2012-04-01 13:08:42 -07:00
Davis W. Frank
885832e920
Forgot to update Contribute to include new Thor tasks
2012-04-01 11:36:29 -07:00
Davis W. Frank
3a0ada034b
Move sources order to Ruby, which is where it's used.
2012-04-01 11:28:57 -07:00
Davis W. Frank
626da5a112
Re-implemented all development Rake tasks in Thor. Now actually tested.
...
Fixes:
* https://www.pivotaltracker.com/story/show/25484287 & https://github.com/pivotal/jasmine/issues/183
* https://www.pivotaltracker.com/story/show/25485401 & https://github.com/pivotal/jasmine/issues/189
* https://www.pivotaltracker.com/story/show/25485953 & https://github.com/pivotal/jasmine/issues/159
2012-04-01 10:47:29 -07:00
Davis W. Frank
4a1a2123a3
Fixes https://github.com/pivotal/jasmine-gem/issues/65 and https://www.pivotaltracker.com/story/show/24902023
2012-02-25 11:58:54 -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
Davis W. Frank & Sean Durham
ad4f48dcd4
Add new HTMLReporter
2011-11-04 14:43:19 -07:00
ragaskar
41f496001f
Version bump to 1.1.0
2011-09-10 13:51:11 -04:00
ragaskar
6b5956724b
Version bump to rc4
2011-09-01 07:26:07 -04:00
ragaskar
a075c75bce
Version bump to 1.1.0.rc3
2011-07-13 07:23:29 -04:00
ragaskar
a617b59e6a
Bump to rc2
2011-06-24 21:34:29 -04:00
ragaskar
67bbc98faa
Bump version
2011-06-24 21:22:19 -04:00
Davis W. Frank
620f7b6e4c
Updates to Pages; Updates to docs;
2011-06-23 19:02:17 -07:00
ragaskar
b722f416c7
Write out version.rb on dist build
2011-06-23 07:55:04 -04:00
Davis W. Frank
57e622fb2a
Fix to version structure for "release_candidate"
2011-06-20 18:17:24 -07:00
Davis W. Frank
c0664dd6aa
merge
2011-06-20 08:46:37 -07:00
Davis W. Frank
b640ce6fc0
wip on readme for release
2011-06-20 07:32:40 -07:00
ragaskar
e9af7834f5
Better argument handling in Jasmine::Core#spec_files
2011-06-18 09:43:14 -04:00
ragaskar
30431a3958
Gem-ize jasmine
...
[Finishes #13128217 ]
2011-06-17 21:01:42 -04:00
Davis W. Frank
e4e9b51544
rename TrivialConsoleReporter to ConsoleReporter
2011-06-16 22:35:57 -07:00
Davis W. Frank
0b97951766
Better coloring of output of Rake tasks; Turn off colored output in Rake tasks if not on a TTY (not sure if it works in Hudson); Add support to TCR for turning off colors since there is code to calc options but it wasn't used; NOTE: coloring in TCR should be MUCH better tested.
2011-06-16 22:34:11 -07:00
Davis W. Frank
75dd391d57
should fix red build
2011-06-16 08:33:59 -07: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
6b2e45eab5
Refactor of standalone build tasks; Better templating of the core runner.html and the example SpecRunner.html
2011-06-15 09:15:40 -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
c2ed71717f
Remove link to github page from Runner
2011-06-11 16:51:16 -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