Re: [rspec-users] customize description and failure messages when writing rspec matcher dsl

2011-11-27 Thread Anran Yang
On Nov 24, 2011, at 12:48 AM, Anran Yang wrote: > Dear all, > > I recently tried to write a custom matcher using rspec dsl, which I'd like to use as the following: > > ==hpgc_spec.rb=== > > require "spec_helper" > > describe Hpgc do > specify do > should be_structured

Re: [rspec-users] Wrong number of arguments (reduce, rspec/core/metadata)

2011-11-27 Thread Thibaut Barrère
Hi David, reduce has a number of different forms, one of which is collection.reduce { > ... } (with a block but no args). > My best guess is either your app or another lib/gem is redefining reduce. > Possible? > well I don't know the codebase enough yet, but I guess yes, it's definitely possib

Re: [rspec-users] customize description and failure messages when writing rspec matcher dsl

2011-11-27 Thread David Chelimsky
On Nov 27, 2011, at 7:22 AM, Anran Yang wrote: > On Nov 24, 2011, at 12:48 AM, Anran Yang wrote: > > > Dear all, > > > > I recently tried to write a custom matcher using rspec dsl, which I'd like > > to use as the following: > > > > ==hpgc_spec.rb=== > > > > require "spe

Re: [rspec-users] cucumber is_admin? testing

2011-11-27 Thread Alex Whiteland
bump! I sent letter 3 day ago. No email answer, no new theme in group, no new message here. But new message in group exists. Why? -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/ma

Re: [rspec-users] Skipping slow specs in Guard but running them from that file

2011-11-27 Thread Ash Moran
On 30 Aug 2011, at 14:45, Nikolay Sturm wrote: > * Ash Moran [2011-08-30]: >> I never thought of that! Yes, that could also work, probably better in >> fact. It just involves running multiple Guard processes, although >> there's Terminitor[1] for that! > > A single guard process is enough, it wi