From dchelimsky at gmail.com Mon Jun 22 22:21:40 2009 From: dchelimsky at gmail.com (David Chelimsky) Date: Mon, 22 Jun 2009 21:21:40 -0500 Subject: [rspec-devel] [ANN] rspec-rails 1.2.7 Released Message-ID: <57c63afe0906221921x7b874e0fs813b172a4675af97@mail.gmail.com> rspec-rails-1.2.7 has been released! Behaviour Driven Development for Ruby on Rails. Changes: ### Version 1.2.7 / 2009-06-22 * enhancements * alias :stub!, :stub so rspec-rails extensions of rspec stubs can use the same syntax as rspec (core) * integration specs (Ben Mabey and David Chelimsky) * added support for references and belongs_to generated model specs (Jos? Valim). Closes #792. * add discovery for autotest-rails to keep compatible with ZenTest-4.0.0 (Ryan Davis). Closes #838. * controller specs in isolation mode don't care whether the file exists anymore! * bug fixes * allow rspec-rails to work without ActiveRecord. Closes #810. * fix bug with have() matcher failure message (Dave Giunta). Closes #818. * fix bug where render_template('new') would pass if 'newer' was rendered (or anything that started with 'new') * deprecations * spec_server is now deprecated - use spork instead (gem install spork). Closes #827. * * * * * From dchelimsky at gmail.com Mon Jun 22 22:21:32 2009 From: dchelimsky at gmail.com (David Chelimsky) Date: Mon, 22 Jun 2009 21:21:32 -0500 Subject: [rspec-devel] [ANN] rspec 1.2.7 Released Message-ID: <57c63afe0906221921j35f3926brd7a6f377d069c3@mail.gmail.com> rspec-1.2.7 has been released! * * * * * Behaviour Driven Development for Ruby. Changes: ### Version 1.2.7 / 2009-06-22 * enhancments * added support for fakes using obj.stub(:method) { # implementation } * allow subject { self } (Jarmo Pertman). Closes #816. * friendly error message when a matcher returns nil on a failure message * add ruby_cmd option to SpecTask (Rick DeNatale). Closes #823. * also added missing specs for SpecTask - thanks Rick! * add support for generating matchers with fluent interfaces with the Matcher DSL * bug fixes * NegativeOperatorMatcher now returns false (Wesley Beary). Closes #812. * derive MockExpectationError from Exception rather than StandardError (Kerry Buckley). Closes #830. * fix bug where multi-line failure messages weren't getting picked up by autotest (Jarmo Pertman). Closes #832. * --line_number now works for it { should xxx } format (assist from Fred Lee) * warn instead of raise when there is no description supplied for an example. Closes #840. * * * * * From dchelimsky at gmail.com Tue Jun 23 01:16:51 2009 From: dchelimsky at gmail.com (David Chelimsky) Date: Tue, 23 Jun 2009 00:16:51 -0500 Subject: [rspec-devel] [ANN] rspec-rails 1.2.7 Released In-Reply-To: <57c63afe0906221921x7b874e0fs813b172a4675af97@mail.gmail.com> References: <57c63afe0906221921x7b874e0fs813b172a4675af97@mail.gmail.com> Message-ID: <57c63afe0906222216p2a62cf68i4a311d8399e1d44e@mail.gmail.com> I just pushed 1.2.7.1 to fix a bug in "script/generate rspec". Please use this instead of the 1.2.7 gem. Cheers, David On Mon, Jun 22, 2009 at 9:21 PM, David Chelimsky wrote: > rspec-rails-1.2.7 has been released! > > Behaviour Driven Development for Ruby on Rails. > > Changes: > > ### Version 1.2.7 / 2009-06-22 > > * enhancements > ?* alias :stub!, :stub so rspec-rails extensions of rspec stubs can use the > ? ?same syntax as rspec (core) > ?* integration specs (Ben Mabey and David Chelimsky) > ?* added support for references and belongs_to generated model specs (Jos? > ? ?Valim). Closes #792. > ?* add discovery for autotest-rails to keep compatible with ZenTest-4.0.0 > ? ?(Ryan Davis). Closes #838. > ?* controller specs in isolation mode don't care whether the file exists > ? ?anymore! > > * bug fixes > ?* allow rspec-rails to work without ActiveRecord. Closes #810. > ?* fix bug with have() matcher failure message (Dave Giunta). Closes #818. > ?* fix bug where render_template('new') would pass if 'newer' was rendered > ? ?(or anything that started with 'new') > > * deprecations > ?* spec_server is now deprecated - use spork instead (gem install spork). > ? ?Closes #827. > > * > * > * > * > * >