Gregg Van Hove
234dc1a047
Merge pull request #763 from gabrielhpugliese/gabrielhpugliese-patch-bower-json
...
Fix missing comma on bower.json
2015-02-02 12:16:47 -08:00
Gabriel H Pugliese
d22a030b87
Fix missing comma on bower.json
2015-02-02 18:03:32 -02:00
Greg Cobb and Gregg Van Hove
4acb7448d8
Update release notes and bump version for 2.2.0
2015-02-02 11:27:14 -08:00
slackersoft
a26e85ff3a
update 2.2.0 release notes now that I've pulled
2015-01-30 13:03:08 -08:00
slackersoft
39e175c05f
Initial cut of release notes for 2.2.0
2015-01-30 13:02:01 -08:00
Christopher Amavisca
d129a6c0ee
Restructure node examples folder structure to look more realistic.
...
- Updates PlayerSpec's require statement to match folder structure change
2015-01-27 14:39:59 -08:00
slackersoft
837101c025
Add a basic bower config
...
- Also ignore sauce_connect.log
Fix #719
2015-01-26 17:53:41 -08:00
slackersoft
8e3066db42
Allow pending to take a reason and show it in the HtmlReporter
...
[#78954014 ] Fix #671
2015-01-26 15:55:31 -08:00
slackersoft
a857f4c042
Merge branch 'ptomato-gjs-global-object'
2015-01-26 12:22:05 -08:00
slackersoft
dca543accb
Merge branch 'gjs-global-object' of https://github.com/ptomato/jasmine into ptomato-gjs-global-object
2015-01-26 12:21:56 -08:00
slackersoft
5dbcf27f72
Merge branch 'ptomato-spidermonkey-compat'
2015-01-26 11:47:35 -08:00
slackersoft
b54de4a180
Merge branch 'spidermonkey-compat' of https://github.com/ptomato/jasmine into ptomato-spidermonkey-compat
2015-01-26 11:47:09 -08:00
slackersoft
46509f05a9
Add jshint to node run on travis
...
- To ensure that pull requests pass
[Finish #59588854 ]
2015-01-26 10:59:44 -08:00
Philip Chimento
ebaa2e7f24
Set jasmineGlobal correctly in GJS
...
In GJS, jasmineGlobal was not getting set to the global object; when
importing jasmine.js in GJS, "this" resolves to the jasmine.js module
object, not the global object. Solve this specifically for GJS by
assuming that `window.toString === '[object GjsGlobal]'` only in GJS; if
this is the case, assign "window" to "jasmineGlobal".
Adding a "var" to the declaration of "getJasmineRequireObj" is also
necessary, or else "getJasmineRequireObj" won't be exported in the
Jasmine module.
See #751
2015-01-24 23:50:40 -08:00
Philip Chimento
5eaf7152bf
Fix some SpiderMonkey lint
...
SpiderMonkey complains about functions not always returning a value. In
most cases that is a conscious code style choice, so it is not fixed
here.
In one case (MockDate) the interpreter thought you could have fallen off
the end of a "switch" statement, although the number of arguments
prevented that. This was fixed by changing the last case to "default".
In another case (QueueRunner) the function really did return a value
sometimes and nothing other times, although as far as I could see, it
could only ever return "undefined". The function now explicitly only
returns no value.
See #751
2015-01-24 23:43:38 -08:00
Greg Cobb
ebbaab4cf9
Prevents *Alls from running when runnables are explicitly set
...
- This requires passing if runnables are set to the Suite. Hopefully in
the future we will change how focused runnables and *Alls interact so
this is no longer necessary.
[#732 ]
2015-01-23 17:27:13 -08:00
Greg Cobb
1936a36c79
Fix jslint issues
2015-01-23 17:23:07 -08:00
slackersoft
1dd4af3835
anything and stringMatching have custom pretty-print now.
2015-01-21 12:59:01 -08:00
slackersoft
6ae054c3e2
Update contribution guide to mention possible ffi dependencies for Ubuntu
...
Fixes #755
2015-01-21 12:55:07 -08:00
Gregg Van Hove
e5feba994f
Merge pull request #746 from swirlycheetah/patch-1
...
Fix spelling mistake
2015-01-14 17:00:19 -08:00
Chris Wheatley
20faa883fb
fix spelling mistake
2015-01-14 22:15:49 +00:00
Gregg Van Hove
3bba1eabd4
Merge pull request #745 from rohit/fix-repo-url
...
Use new jasmine github repo url
2015-01-14 10:26:39 -08:00
Rohit Arondekar
9ad3eac469
Use new jasmine github repo url
2015-01-14 20:47:09 +05:30
Gregg Van Hove
3140d5fb95
Allow createSpyObj to be called with just an array of method names
...
[Finish #50757607 ] #321
2015-01-12 15:16:50 -08:00
Gregg Van Hove
69a61547e7
Don't forget to buildDistribution
...
- Also fix jshint errors
[#59947350 ] #440
2015-01-12 14:10:50 -08:00
Gregg Van Hove
a999490de9
Merge branch 'arrayContaining' of https://github.com/slackersoft/jasmine into slackersoft-arrayContaining
...
Merge #440 [Finish #59947350 ]
2015-01-12 14:01:02 -08:00
Gregg Van Hove
c1479acd17
Fix fail specs for all browsers #734
2015-01-12 13:37:10 -08:00
Gregg Van Hove
3a93f845d6
Use the stack trace from the Error object if supplied
...
Fixes #734
2015-01-12 11:51:45 -08:00
Gregg Van Hove
6c58024321
Update readme with link to upgrading doc and mention browser support.
...
Fix #739
2015-01-12 11:06:59 -08:00
Gregg Van Hove
aeae141fd4
Merge branch 'moonmaster9000-patch-2'
2015-01-12 10:08:15 -08:00
Matt Parker
a951bbbb47
Link to the Jasmine NPM module
...
Also, put the jasmine-<language> links above the confusing "install jasmine on your local box" stuff (why would I want to do that?)
2015-01-12 10:08:04 -08:00
slackersoft
895c17e5c1
Merge branch 'rohit-equals-null-protoObjects'
2014-12-20 16:48:26 -08:00
Rohit Arondekar
a84eaf2cbe
Allow null prototype obj to be compared for equals
...
Fixes #729
2014-12-20 08:35:27 +05:30
slackersoft
9f240c5b9e
Build distribution to properly expose stringMatching
...
[#58120558 ]
2014-12-19 12:45:58 -08:00
slackersoft
dfa8a77dc3
Add asymmetric equality tester to match a string against a regexp
...
- Also move the asymmetric testers into their own dir for easier
locating.
[#58120558 ] Fix #243
2014-12-19 12:39:24 -08:00
Gregg Van Hove
2472982fe9
Merge pull request #730 from rohit/patch-1
...
Fix URL's of Jasmine repositories on Github
2014-12-19 09:21:02 -08:00
Rohit Arondekar
c85500a924
Fix URL's of Jasmine repositories on Github
2014-12-19 07:36:03 +05:30
slackersoft
482f4d62fc
Add anything matcher to match any value that is neither null or undefined
...
[finish #58117878 ] Fix #186
2014-12-17 12:58:47 -08:00
slackersoft
bfcd8b046d
Allow asymmetric equality testers to preempt their symmetric brethren
...
- Also allow them to be compared to each other properly.
Fixes #540
2014-12-16 17:45:58 -08:00
slackersoft
2ab22951a1
Just check if either side implements asymmetricMatch
...
- Don't explicitly look for `Any` or `ObjectContaining`
[#82295210 ]
2014-12-16 17:29:18 -08:00
slackersoft
6c131beda7
Don't double escape focus spec links.
...
- QueryString already escapes parameter values, no need to escape when
passing them in from HtmlReporter.
[finish #29578495 ]
2014-12-16 17:21:22 -08:00
slackersoft
ea88023553
Check for ObjectContaining on either side of equality.
...
- Also clean up `undefined` check.
Fixes #682
2014-12-16 17:07:35 -08:00
slackersoft
6bd98cb2ab
Rename jasmineMatches to asymmetricMatch
...
- This should be more clear what it is for
[finish #82295210 ]
2014-12-16 16:47:31 -08:00
slackersoft
b4b3ac25a1
spyOn explicitly checks to see that a method name to spy on was passed.
...
[finish #27689237 ]
2014-12-16 13:21:48 -08:00
slackersoft
7570bc422b
Display the name of the constructor when pretty printing objects
...
Fixes #598 [finishes #81228592 ]
2014-12-16 12:56:04 -08:00
slackersoft
eca8d8f009
Also test in IE 11 on travis
2014-12-16 11:57:48 -08:00
slackersoft
305252f5a8
toMatch requires the expected to be a String or RegExp
...
- Otherwise it was using the `toString` as the RegExp, which is almost
definitely _not_ what you want.
Fixes #723
2014-12-16 11:50:45 -08:00
slackersoft
0fdb28c6ff
Merge branch 'toEqualDomNodes' of https://github.com/alexeibs/jasmine into alexeibs-toEqualDomNodes
2014-12-16 11:25:14 -08:00
slackersoft
a84202a6f9
Also check custom properties on Arrays when computing equality
...
[Finishes #50616649 ]
2014-12-16 10:22:23 -08:00
slackersoft
503f4b7f49
Keep extra query params when focusing on a spec or suite
...
[finish #29578495 ]
2014-12-15 18:30:32 -08:00