Gregg Van Hove
4e47b78f1f
Use isFunction to check for functionness in callFake
...
- Fixes #1191
2016-09-14 16:06:44 -07:00
Henry Blyth
8e23c26383
Make spyOnProperty available in tests
...
Needed adding to the env and require interface
2016-09-12 18:22:58 -05:00
Sukharev Maxim
56191cfb2e
Implement spies for get/set functions on accessor properties
2016-09-12 18:22:58 -05:00
Gregg Van Hove
8624a52ee0
Don't auto install phantom since it doesn't seem to work on travis
2016-09-07 15:48:20 -07:00
Gregg Van Hove
a4b92b34f4
Update to 2.5.1
2016-09-07 14:31:18 -07:00
Gregg Van Hove
3486e8d166
Merge branch '1189' of https://github.com/seanparmelee/jasmine into seanparmelee-1189
...
- Merges #1193 from @seanparmlee
- Fixes #1189
2016-09-01 21:11:07 -07:00
Gregg Van Hove
8366ef9be5
Merge branch 'fix' of https://github.com/logankd/jasmine into logankd-fix
...
- Merges #1192 from @logankd
- Fixes #1188
2016-09-01 20:44:13 -07:00
Gregg Van Hove
ab0567c665
Generated file for date tick fix
2016-09-01 20:41:51 -07:00
Sean Parmelee
8676bbf11a
fallback on assignment when a spy cannot be deleted
2016-09-01 13:39:25 -05:00
Kevin Logan
c0a9d20a02
fix for issue #1188
2016-09-01 10:59:19 -05:00
Gregg Van Hove
c7cc3b4a29
Properly tick date along with clock
...
- Specifically when there aren't functions scheduled at the ticks
Fixes #1190
2016-08-31 21:24:01 -07:00
Gregg Van Hove
5a2e1b0082
Update to 2.5.0
2016-08-30 21:23:08 -07:00
Gregg Van Hove
f196faf0bb
Update anonymous constructor pretty print specs to work in IE
2016-08-25 15:29:32 -07:00
Gregg Van Hove
850204dfb8
Merge branch 'prettyPrintCustomConstructortoString' of https://github.com/mbildner/jasmine into mbildner-prettyPrintCustomConstructortoString
...
- Fixes #1019
- Merges #1099
2016-08-15 15:50:59 -07:00
Gregg Van Hove
7bda3bd728
Build distribution
2016-08-15 09:41:48 -07:00
Gregg Van Hove
b9c25e88b9
Merge branch 'callfake-better-error' of https://github.com/kapke/jasmine into kapke-callfake-better-error
...
- Merges #1059
- Fixes #1016
2016-08-15 09:34:03 -07:00
Gregg Van Hove
13228c304e
Add gulp-jasmine-browser link to readme
...
Close #1089
2016-08-15 09:30:38 -07:00
Greg Cobb
da18479422
Merge pull request #1170 from benchristel/how-to-test-in-ie
...
Add instructions for testing in IE
2016-07-25 21:59:23 -07:00
Greg Cobb
ba211e4913
Update codeclimate.yml
...
[#1171 ]
2016-07-25 21:36:57 -07:00
Greg Cobb
5f9a965d7c
Exclude lib directory from codeclimate
...
- Generated files show up as duplicates of src
[#1171 ]
2016-07-25 21:11:44 -07:00
Ben Christel
3ff59835ea
Add instructions for testing in IE
2016-07-25 10:20:43 -07:00
Greg Cobb
9fedf74f32
Build distribution
2016-07-24 22:38:36 -07:00
Greg Cobb
0339fc500a
Merge pull request #1169 from benchristel/fix-build
...
Fix the build in ie8
2016-07-24 22:20:55 -07:00
Ben Christel
227b0c62a3
Make the build pass in ie8
...
- pending() throws an exception in ie8. I have not dug into the root cause.
- iframe.contentWindow.eval() isn't supported in ie8
2016-07-24 21:48:11 -07:00
Greg Cobb
3de60067f0
Merge pull request #1158 from benchristel/move-functions-to-higher-scope
...
Restructure eq code and tests
2016-07-21 21:28:45 -07:00
Ben Christel
cb1001e6c2
De-dup test setup
...
- Move environment-specific tests for toEquals into describe blocks so the check for the environment can be shared
2016-07-21 12:26:43 -07:00
Ben Christel
d9ded15c45
Move functions in to a higher scope
...
- Prevents them from accessing eq's local vars, which could cause bugs.
2016-07-21 12:10:37 -07:00
Ben Christel
a0bce8031e
Test comparison of objects from different frames
2016-07-21 12:10:37 -07:00
Greg Cobb
7f7dda7a2c
Merge pull request #1162 from amavisca/update-dev-dependencies
...
Update devDependencies and fix issues from this
2016-07-20 20:18:57 -07:00
Chris Amavisca
15f92b226c
Update devDependencies and fix issues from this
...
- Point to npm released version of jasmine node runner
2016-07-20 20:11:52 -07:00
Greg Cobb
99aa2247b6
Build distribution
2016-07-19 23:00:25 -07:00
Greg Cobb
314eb63552
Merge pull request #1129 from gregeinfrank/remove-runnable-lookup-table
...
Remove runnableLookupTable which is no longer used
2016-07-18 23:39:15 -07:00
Greg Cobb
bd6ca98f9d
Revert "Merge pull request #1151 from amavisca/update-dev-dependencies"
...
This reverts commit eee75d8eed , reversing
changes made to 5e0ebadb3d .
2016-07-18 23:28:50 -07:00
Greg Cobb
eee75d8eed
Merge pull request #1151 from amavisca/update-dev-dependencies
...
Upgrade devDependencies glob and shelljs
2016-07-18 23:00:34 -07:00
Greg Cobb
5e0ebadb3d
Merge pull request #1155 from benchristel/arrays-properties-bug
...
Make `toEqual` pass for arrays with equivalent properties
2016-07-18 22:56:20 -07:00
Ben Christel
738c10fd43
Make toEqual pass for arrays with equivalent properties
...
- Fixes a bug caused by accidental use of a closure variable
2016-07-18 16:48:00 -07:00
Greg Cobb
8c9ffe3144
Merge pull request #1152 from amavisca/update-travis-ruby
...
Update ruby version on travis to let rack install
2016-07-14 22:28:50 -07:00
Chris Amavisca
ab2c916c3a
Update ruby version on travis to let rack install
2016-07-14 19:57:08 -07:00
Chris Amavisca
290fb3fdcd
Upgrade devDependencies glob and shelljs
2016-07-14 19:46:32 -07:00
Joey Parrish
de7b7c029e
Pass custom testers to asymmetric testers
...
This allows custom equality testers to affect asymmetric matches.
This avoid suprises when combining addCustomEqualityTester with
objectContaining or arrayContaining.
Closes #1138
2016-06-23 14:33:39 -07:00
Greg Einfrank
e13c7a55a9
Remove runnableLookupTable which is no longer used
2016-06-08 10:59:42 -07:00
Pivotal
7a62969a14
createSpyObj may use object for method->response shorthand
...
examples:
```JavaScript
var mySpy = jasmine.createSpyObj("mySpy", { getAge: 55, getLanguage: "JavaScrizzle" });
var age = mySpy.getAge();
expect(age).toEqual(55);
expect(mySpy.getAge).toHaveBeenCalled();
```
Also does:
Add "isObject_" method to utils to make it easier for "createSpy" to support an array or object of stubs
2016-04-25 17:10:22 -04:00
Pivotal
604cd6132f
Prettyprint objects whose constructors have custom toString method
...
- when the constructor has a name, print the name
- when the constructor does not have a name, print `<anonymous>`
[Fixes issue 1019](https://github.com/jasmine/jasmine/issues/1019 )
2016-04-25 14:23:48 -04:00
Fulvio Valente
2710bdfc5e
Correctly pretty print objects from other contexts (e.g. iframes) and which do not override toString
...
Fixes #1087
2016-04-11 18:51:04 +01:00
Gregg Van Hove
f6da084642
Merge branch 'patch-1' of https://github.com/skupr/jasmine into skupr-patch-1
...
- Merges #1079 from @skupr
- Fixes #964
2016-03-26 21:28:46 -07:00
Gregg Van Hove
6c0224414c
Generate combined file for previous features
2016-03-26 21:27:04 -07:00
Stanislav Kupryakhin
c302545ba4
Fix jasmine setup in Electron environment
...
Fix for issue #964
2016-03-21 08:38:27 +06:00
slackersoft
954a6a0091
Merge branch 'feat/improveErrorMessages' of https://github.com/dhoko/jasmine into dhoko-feat/improveErrorMessages
...
- Merges #1026 from @dhoko
- Fixes #1025
2016-03-18 10:59:31 -07:00
slackersoft
11cfaae42a
Merge branch 'marneborn-bluebird3.0-warnings'
...
- Merges #1062 from @marneborn
- Fixes #992
2016-03-11 09:13:43 -08:00
Erik Welander
927cc011d6
Added support for ES6 sets to toContain and toEqual.
2016-03-04 02:09:59 -08:00