summary refs log tree commit diff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* The methods in describe should also pass the blockLin Jen-Shin2014-07-071-0/+10
| | | | for the nested describe block.
* silence test suite warningChristian Neukirchen2013-03-311-0/+1
|
* fix should.change tests failing intermittently on jruby + 1.8.7Gabriel Horner2012-03-201-2/+2
| | | | | see http://travis-ci.org/#!/cldwalker/bacon/builds/910141 tests were running so fast that Time.now remains the same
* Add tests for should.==Christian Neukirchen2012-03-161-0/+8
| | | | Proposed by Gabriel Horner <gabriel.horner@gmail.com>.
* Whitespace cleanupChristian Neukirchen2012-03-161-13/+13
|
* Add specs for change?Christian Neukirchen2012-02-261-0/+17
|
* methods in a context should serve as behavior that is inherited by sibling ↵Gabriel Horner2010-03-201-0/+16
| | | | contexts
* Revert old change that was made because 1.9.0 couldn't rescue a splatted ↵Eloy Duran2009-08-312-2/+2
| | | | | | array of Exception classes. MacRuby currently can't use when with the same array and 1.9.2dev does. Also some other minor changes which didn't work currently on 1.9.2dev, but are nicer anyway imo.
* Added test for nontrue values outside specsIan Dees2009-01-101-0/+14
|
* Last fixesChristian Neukirchen2008-11-301-1/+1
|
* Having higher-level after blocks also be run for nested contexts.Yossef Mendelssohn2008-10-241-0/+1
|
* Ensuring that nested before blocks are run in the correct orderYossef Mendelssohn2008-10-241-0/+8
|
* Ensuring that before blocks don't bleed into sibling levelsYossef Mendelssohn2008-10-241-0/+6
|
* Letting before blocks be run from higher levels in nested contextYossef Mendelssohn2008-10-241-0/+19
| | | | | | Split up Context#initialize to let running be a separate step. Added attr_reader for Context name and block to let the running step have access to them without resorting to instance variables.
* Suppress warnings when the suite loads Bacon againChristian Neukirchen2008-07-061-0/+2
| | | | darcs-hash:20080706154607-4fc50-a92d32398ee2f5ca46457569152f58e9eb3f2dfd.gz
* ReformatsChristian Neukirchen2008-02-102-6/+5
| | | | darcs-hash:20080210174524-4fc50-5753e3f7ff4fcb391864d2b427cab1db4169a61c.gz
* Empty specifications are now erroneousChristian Neukirchen2008-02-101-1/+2
| | | | darcs-hash:20080210174232-4fc50-502a7c3601bcbd28b1ec6befde599762d939effa.gz
* Improve require for lib/baconMichael Fellinger2008-02-102-5/+2
| | | | darcs-hash:20080210134958-cbc08-0c493ce02119a8a1ce9e7d71629df0283c01635a.gz
* allows multiple arguments to #describe to allow specialized behaviours such asrff.rff2008-01-231-0/+29
| | | | | | | | | describe Queue,'empty' describe Queue,'full' Some tests for this and manveru's latest patch are included darcs-hash:20080123225940-16231-8d28039e863f52902c390f666b710c5a1d59cf53.gz
* add should('foo') shortcut for it('should foo')rff.rff2008-01-141-0/+34
| | | | darcs-hash:20080114003444-16231-e4a97d3932c8636751d72f101e0363c124522390.gz
* Add flunkingChristian Neukirchen2007-12-051-0/+5
| | | | darcs-hash:20071205131134-4fc50-f212f6e81f9439f8171234b379dbf4852f7ed9e2.gz
* Add identical_to/same_asChristian Neukirchen2007-12-051-0/+8
| | | | darcs-hash:20071205122616-4fc50-34f25320f27b4db25249d05e092ab2f87d9e40e7.gz
* Refactor testsChristian Neukirchen2007-12-051-14/+7
| | | | darcs-hash:20071205010003-4fc50-b80669ebc8e959181962e33a9bef1c8d9edec719.gz
* Test Context#should.{throw,raise}Christian Neukirchen2007-12-051-0/+4
| | | | darcs-hash:20071205005808-4fc50-042ef423f840f7cc0f37003112e8f95794446de0.gz
* Add should.throwChristian Neukirchen2007-12-051-0/+10
| | | | darcs-hash:20071205005629-4fc50-9383518bf564264235d38f2fbd3059cccb6d3885.gz
* Add shared contextsChristian Neukirchen2007-12-051-0/+30
| | | | darcs-hash:20071205004156-4fc50-50fb9e4bd448a79706dff072ecf7efe06df41d3e.gz
* Import test-suiteChristian Neukirchen2007-05-311-0/+260
darcs-hash:20070531121740-4fc50-b6b4850987e9d2a4b368d1b096837585b1e7a181.gz