[rspec-users] RSpec 2 matchers 'code-spec' and 'file-spec' released

2010-08-16 Thread Kristian Mandrup
Spec your generated Ruby code files code-spec at: http://github.com/kristianmandrup/code-spec Spec your file structure (files, dirs, symlinks) file-spec at: http://github.com/kristianmandrup/file-spec More to come... ___ rspec-users mailing list rspec

Re: [rspec-users] Name collision - how would you handle this?

2010-08-16 Thread Myron Marston
> I think they should all be registered in the same place, in rspec-core. Or > are you saying that rspec-rails would take the responsibility of registering > the names for rspec-rails, rails, test/unit and minitest? That makes sense to > me, as long as they're all using RSpec::Core::register_res

[rspec-users] html formatter

2010-08-16 Thread Yi Wen
For rspec 2.0, is there anyway we can specify which file the output should be written into when using html formatter easily? Thanks Yi ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Load dummy data using Factory girl

2010-08-16 Thread Amit Kulkarni
Hello, I wanted to know how to load dummy data in the application using Factory girl. I had done this using Fixtures.I had made a fixtures folder into the test folder and run the command "rake test fixtures:load" Currently i tried using factories in the spec which is working fine. Wanted to know kn

Re: [rspec-users] 2.0.0.beta.19 installation problem

2010-08-16 Thread David Chelimsky
On Aug 13, 2010, at 11:33 PM, Craig Castelaz wrote: > I purchased the beta version of the PragBook yesterday, but didn't get > a chance to begin reading until tonight. I'm currently stuck on > installing rspec. > > ~$ sudo gem install rspec --version 2.0.0.beta.19 >

Re: [rspec-users] rspec command for rspec-2.0.0.beta.19

2010-08-16 Thread Wincent Colaiuta
El 16/08/2010, a las 06:39, David Chelimsky escribió: > On Tue, Aug 10, 2010 at 11:17 AM, Brad Pauly wrote: >> I've just uninstalled all versions of rspec and installed >> rspec-2.0.0.beta.19 and rspec-rails-2.0.0.beta.19 for a rails project >> and I can't find the rspec command. Based on what bu

Re: [rspec-users] Including modules for view test in RSpec 2.0.0.beta.19

2010-08-16 Thread Matt Wynne
On 16 Aug 2010, at 05:48, David Chelimsky wrote: > 20) which will be sometime in the next week or so. Would have been > sooner, but I just got the book back from indexing (wt) and I have > some work to do before it goes off to the copyeditor (double w0t). Congratulations David! cheers, M

Re: [rspec-users] Module & Mixin testing strategy

2010-08-16 Thread Mike Howson
Wow - thanks very much Ashley & David for that very comprehensive response, you've answered my question and more! Cheers, Mike. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailm