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


Groups > comp.lang.ruby > #3708

must "explanation" {.test.} style not working in my unit tests

From Vahagn Hayrapetyan <vahagnh@gmail.com>
Newsgroups comp.lang.ruby
Subject must "explanation" {.test.} style not working in my unit tests
Date 2011-04-29 14:19 -0500
Organization Service de news de lacave.net
Message-ID <89144805096c67c5425e9e210ff04aa2@ruby-forum.com> (permalink)

Show all headers | View raw


Hi, I'm trying to use this extension:

https://github.com/sandal/rbp/blob/master/testing/test_unit_extensions.rb

in my unit tests, as explained here:

http://answers.oreilly.com/topic/381-how-to-make-testunit-tests-more-readable/

My unit tests won't recognize this syntax however:

undefined method `must' for StackTest:Class (NoMethodError)

Does this have to do with the Ruby version perhaps? I'm using v.
1.9.2p0.

Thanks!

-- 
Posted via http://www.ruby-forum.com/.

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


Thread

must "explanation" {.test.} style not working in my unit tests Vahagn Hayrapetyan <vahagnh@gmail.com> - 2011-04-29 14:19 -0500
  Re: must "explanation" {.test.} style not working in my unit tests Vahagn Hayrapetyan <vahagnh@gmail.com> - 2011-05-02 03:34 -0500

csiph-web