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


Groups > comp.lang.ruby > #3826

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

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

Show all headers | View raw


@Chad: cheers!

@serialhex:

>or at least having a "test_helper.rb" file you require into your tests??

I wasn't doing that since I had the impression (from reading about this 
syntax) that this method was integrated into Test::Unit, so one could 
just use it "out of the box". Apparently I was wrong - I've pasted it 
into a helper file and required it and now it's working.

Thanks! V.

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

Back to comp.lang.ruby | Previous | NextPrevious 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