Gregg Van Hove
2a847a67e3
Merge branch 'danfinnie-any-vs-anything-error'
2015-05-18 14:27:27 -07:00
Dan Finnie
302e78f1df
Raise an error when jasmine.any() isn't passed a constructor
2015-05-17 02:21:26 -04:00
Gregg Van Hove
0b1449228f
Bump version to 2.3.4
2015-05-13 14:57:56 -07:00
Gregg Van Hove
65a6decd6d
Fix ordering for suites with more than 11 direct children.
...
- When no specs were focused, they all had the same precedence, and
`sort`ing them caused some of the nodes to move around
Fixes #850
2015-05-13 14:45:11 -07:00
Gregg Van Hove
7cbd86357d
Merge branch 'remove-dead-css' of https://github.com/prather-mcs/jasmine into prather-mcs-remove-dead-css
2015-05-13 11:03:25 -07:00
Gregg Van Hove
4f278be2c2
Update standalone installation instructions to reference the releases page
...
Fix #603
2015-05-13 10:59:39 -07:00
Matt Prather
f2bc9b5bd8
Remove the style rule for .running-alert CSS class
...
https://github.com/jasmine/jasmine/issues/847#issuecomment-101446573
2015-05-12 15:51:42 -07:00
Gregg Van Hove
e9d79bc946
Merge branch 'prather-mcs-remove-dead-css'
2015-05-11 10:59:36 -07:00
Gregg Van Hove
0b2097b616
Bump version to 2.3.3
2015-05-11 10:48:58 -07:00
Gregg Van Hove
f02824ae52
Merge branch 'remove-dead-css' of https://github.com/prather-mcs/jasmine into prather-mcs-remove-dead-css
2015-05-11 10:41:18 -07:00
Robert Neumann
225c7bdda3
Set the shared user context correctly when executing the top level suite
...
Fixes #846
2015-05-11 10:29:51 -07:00
Matt Prather
e855c898d1
Remove dead CSS class styles
...
I removed the `.showDetails` and `.summaryMenuItem` styles from the Sass
file because I believe that no HTML elements with those classes will
ever be generated by Jasmine and that they are dead code that someone
forgot to remove.
This is my first contribution to the Jasmine project and so I might be
doing something wrong, but I believe just this one change will propagate
to all the generated code when it is built, and that I should not be
altering any other code in any other place to accomplish the change I
intend.
This is related to Jasmine Issue 847:
https://github.com/jasmine/jasmine/issues/847
2015-05-10 16:58:07 -07:00
Gregg Van Hove
426eebe1ce
bump version to 2.3.2
2015-05-07 14:02:12 -07:00
Gregg Van Hove
add841a1e9
A spec without a function provided should be pending not disabled
...
Fixes #840
2015-05-07 13:46:52 -07:00
Gregg Van Hove
023c998660
use a link for the PR in release notes
2015-05-05 07:51:49 -07:00
Gregg Van Hove
3dde7d0c29
Bump version to 2.3.1 to create a new bower package
2015-05-05 07:48:49 -07:00
Gregg Van Hove
4e3f9a4d09
Merge pull request #843 from evoL/fix-bower-package
...
Make the Bower package use browser-friendly files.
2015-05-05 07:22:25 -07:00
Rafał Hirsz
b89fbc71a7
Point Bower's main field to jasmine.js, which is browser-friendly.
2015-05-05 15:36:24 +02:00
Gregg Van Hove
4c0e3b2aed
remove dist zips from the repo. They should all be available on github releases
2015-04-28 13:43:21 -07:00
Gregg Van Hove
19f812c4f6
Fix cp command for release documentation
2015-04-28 11:27:03 -07:00
Gregg Van Hove
5ea24a8448
version bump to 2.3.0
2015-04-28 10:13:42 -07:00
Gregg Van Hove
4173a4089c
Merge pull request #827 from davetron5000/patch-1
...
Explicitly state the main JS
2015-04-19 10:03:19 -07:00
David Copeland
f712b795d7
Explicitly state the main JS
...
# Problem
To bring this lib in using Sprockets, you must do this:
```javascript
//= require jasmine/lib/jasmine-core
```
Sprockets can read `bower.json` and, if `main` is explicitly stated in the file, you can do the much more future-proof and compact:
```javascript
//= require jasmine
```
# Solution
Explicitly specify it.
# Caveats
I am not super-versed in Bower or JS packaging, so this is proposed in the vein of "this fixes my problem and seems consistent with other JS libs I've looked at", but I'm open to other solutions.
2015-04-19 12:22:33 -04:00
Gregg Van Hove
ff029b37b5
Use instanceof when checking Error types in toThrowError
...
Fixes #819
2015-04-09 15:38:24 -07:00
Gregg Van Hove
7cd8c41d31
Merge pull request #818 from lpww/patch-1
...
Update formatting
2015-04-05 21:56:59 -07:00
Thomas Treffry
d7dd85c64f
Update formatting
...
Remove periods from bullet points for consistency with rest of document
2015-04-05 20:19:29 -07:00
Davis W. Frank
2d5c071d28
Merge pull request #815 from jhamon/contributing-subjective-readability-improvements
...
Subjective readability improvements to CONTRIBUTING.md
2015-04-02 08:49:39 -07:00
Jen Hamon
76bc0a87db
Use code fence syntax around git workflow for readability.
2015-04-01 13:25:32 -07:00
Jen Hamon
5cae401c98
Pull urls out of paragraph to improve readability
2015-04-01 13:06:58 -07:00
Gregg Van Hove
1d366772b7
Don't throw if we're already handling an exception
...
[finish #91407284 ]
2015-03-30 08:19:06 -07:00
Gregg Van Hove and Nikhil Gajwani
d137b83c1c
Don't install the clock if the current timing functions aren't the originals
...
[finish #64116664 ] Fix #782
2015-03-27 10:14:03 -07:00
Gregg Van Hove
692c8716f0
Style disabled specs in the results list
2015-03-26 15:45:26 -07:00
Gregg Van Hove
965229bd03
Properly pass j$ to Any so it can use other jasmine stuff
...
Fixes #806
2015-03-18 13:12:40 -07:00
Gregg Van Hove
46044dd345
Merge branch 'sgravrock-clock-reset'
2015-03-15 13:23:56 -07:00
Steve Gravrock
2af9a45fb2
Correctly handle functions that are scheduled after the clock is uninstalled and reinstalled from within Clock#tick.
...
Fixes #790 .
2015-03-14 17:40:27 -07:00
Gregg Van Hove
abc0c4a97e
Update to ruby 2.x for travis builds
...
- sauce gem allowed cmdparse to upgrade a major version and 3.0 of
cmdparse requires ruby >= 2.0.0
2015-03-14 15:26:46 -07:00
slackersoft
eb1d98338a
Properly inject j$ into Suite
2015-03-06 11:43:57 -08:00
slackersoft
f0c480f456
Use onclick directly to better support older webkit
2015-03-06 10:09:08 -08:00
Gregg Van Hove and Molly Trombley-McCann
7693a4c959
Allow user to stop a specs execution when an expectation fails
...
[finish #1165916 ] #577
2015-03-05 15:28:00 -08:00
Gregg Van Hove
1a08d1e8c6
Don't use deprecated onComplete syntax for jasmine-npm
2015-03-04 17:44:05 -08:00
Gregg Van Hove
ce9600a3f6
Allow the clock to be installed for the duration of a single closure
...
[finish #67434180 ]
2015-03-04 17:41:49 -08:00
Gregg Van Hove and Molly Trombley-McCann
c58d83bbe3
Merge branch 'remove-unnecessary-conditional' of https://github.com/toddbranch/jasmine into toddbranch-remove-unnecessary-conditional
2015-03-04 12:00:07 -08:00
Gregg Van Hove and Molly Trombley-McCann
1c6f4ef0e6
Build distribution for previous changes
2015-03-04 11:58:47 -08:00
Gregg Van Hove
c77ff30263
Show the name of the constructor function when printing an any
...
- instead of a `toString` of the entire constructor
Fixes #796
2015-03-03 13:27:31 -08:00
Gregg Van Hove
dc652cfb05
Clean up some TreeProcessor stuff.
...
- Properly segment parents of segmented suites
2015-03-03 13:14:20 -08:00
Gregg Van Hove
22f58c0049
Merge pull request #789 from sgravrock/safe-temp-dir
...
Don't use hardcoded temporary directory paths
2015-03-02 13:59:26 -08:00
slackersoft
715de7aa38
Implement TreeProcessor to solve some issues with running the suite
...
- execute beforeAll/afterAll once per suite instead of once per child
when running focused specs/suites Fixes #773
- refuse to execute an order if it would cause a suite with a beforeAll
or afterAll to be re-entered after leaving once
- report children of an xdescribe similarly to how they would be
reported if they were themselves x'd out Fixes #774
- only process the tree once instead of figuring it out again at each
level
[finishes #87545620 ]
Fixes #776
2015-03-02 11:41:45 -08:00
slackersoft
0c68cc4afc
Fix spec so it can be run in isolation
...
relates to #790
2015-02-27 16:57:23 -08:00
slackersoft
ce6ce4e2c7
Add safari 7 & 8 to browser matrix
2015-02-27 13:44:55 -08:00
Greg Cobb
10f87b3b90
Fixes issue where mock clock was being used by QueueRunner
...
- If the mock clock was installed in a beforeAll, the QueueRunner would use the mock clock for its own clock. If the mock clock was ticked more than the default timeout, async specs would timeout.
[fixes #783 #792 ]
2015-02-24 21:56:52 -05:00