Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6594

Re: I cannot get "lambda {}.must_be_silent" to work in minitest

From erikecoologic@gmail.com
Newsgroups comp.lang.ruby
Subject Re: I cannot get "lambda {}.must_be_silent" to work in minitest
Date 2012-07-27 04:55 -0700
Organization http://groups.google.com
Message-ID <2d3344f4-9785-45d6-931d-37aa6babc2d1@googlegroups.com> (permalink)
References <905cd602-fffe-42ef-87a1-31726d9e473e@t2g2000pbg.googlegroups.com>

Show all headers | View raw


solved updating to ruby-1.9.3-p125

On Thursday, 19 April 2012 23:55:25 UTC+2, Xeno Campanoli  wrote:
> I&#39;m successfully using lambda {}.must_raise(ArgumentError), for
> instance, so largely I think I&#39;m on the right track, but when I try
> must_be_silent in the same context, I get:
> 
> 1) Error:
> test_0003_mycfg_new_must_be_silent_(MykitSpec::MycfgSpec):
> NoMethodError: undefined method `must_be_silent&#39; for #&lt;Proc:
> 0x00000001e03750@MyTest.rb:22 (lambda)&gt;
>     MyTest.rb:22:in `block (3 levels) in &lt;main&gt;&#39;
> 
> I wish there was better documentation on Minitest.  All I see are very
> economical introductions and summaries, and no list of known

Back to comp.lang.ruby | Previous | NextPrevious in thread | Find similar


Thread

I cannot get "lambda {}.must_be_silent" to work in minitest "xeno@eskimo.com" <xeno.campanoli@gmail.com> - 2012-04-19 14:55 -0700
  Re: I cannot get "lambda {}.must_be_silent" to work in minitest xeno.campanoli@gmail.com - 2012-04-19 17:37 -0700
  Re: I cannot get "lambda {}.must_be_silent" to work in minitest erikecoologic@gmail.com - 2012-07-27 04:55 -0700

csiph-web