Commit Graph

17 Commits

Author SHA1 Message Date
Iván Sánchez Ortega
ccd95e38e6 L.Class.include & mergeOptions now return 'this' 2016-02-15 16:38:35 +01:00
Vladimir Agafonkin
cfdbd10431 enforce indentation in specs 2015-09-25 13:55:37 +03:00
John Firebaugh
ef96884021 Ensure parent init hooks are called (fixes #2545) 2014-11-12 14:49:46 -08:00
John Firebaugh
ad9d0f8c7f Make options object prototype-inherited
Fixes #2294
2013-12-15 13:30:30 -08:00
Vladimir Agafonkin
91c039b7aa jshinting and major clean up of specs code, ref #2151 2013-11-07 23:54:33 +02:00
Tom MacWright
a2f7d7e834 Use mocha 2013-04-03 14:50:09 -07:00
John Firebaugh
01332ebead Omit "should" in spec descriptions
The rationale is this: the spec string describes the expected
behavior unconditionally. The code examples, on the other hand,
set up an expectation that is tested with the call to the expect
method. The code examples can violate the expectation, but the
spec string does not. The value of the spec string is as clearly
as possible describing the behavior. Including “should” in that
description adds no value. (From http://rubyspec.org/style_guide/)
2013-02-19 12:41:48 -08:00
jacobtoye
c40878365d Fixing addInitHooks specs to test inherited hooks and child class' hooks. 2012-12-19 15:36:42 +13:00
Vladimir Agafonkin
782e8e7dcf implement hooks for Class constructors (AOP-style), close #1123 2012-12-12 12:26:33 +02:00
Vladimir Agafonkin
382ef5c0b2 spec cleanup 2012-07-05 12:54:40 +03:00
mourner
b333f86e1d fix superclass regression 2012-03-09 11:28:14 +02:00
Mourner
e9b8353198 more Class specs to test @anru changes 2011-07-12 15:32:40 +03:00
Mourner
ea4fd78b7c fix static properties inheritance 2011-06-21 12:09:49 +03:00
mourner
b50d878e5d minor spec fix 2010-09-06 18:38:14 +03:00
mourner
5b21def444 options merging 2010-09-06 18:26:20 +03:00
mourner
9d4e335fe0 improved Class spec 2010-09-03 19:27:26 +03:00
mourner
341f6e726f added Events, folder renaming 2010-09-03 17:38:41 +03:00