Re: [rspec-users] Mocking and specing command line (cli) execution, file operations etc. ?

2010-06-06 Thread David Chelimsky
On Jun 6, 2010, at 7:42 PM, Kristian Mandrup wrote: > What are the options for creating specs for file operations, executing > commands in the CLI etc.? > > If I build a generator or something which runs a lot of things in the > command line, how do I check the results of these operations, fx > m

[rspec-users] Mocking and specing command line (cli) execution, file operations etc. ?

2010-06-06 Thread Kristian Mandrup
What are the options for creating specs for file operations, executing commands in the CLI etc.? If I build a generator or something which runs a lot of things in the command line, how do I check the results of these operations, fx mocking file system updates and/or mocking the STDOUT/STDIN from t

Re: [rspec-users] Rails 3, Rspec 2, Autotest

2010-06-06 Thread Rob Lingle
That got it, thanks! -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Rails 3, Rspec 2, Autotest

2010-06-06 Thread David Chelimsky
On Jun 6, 2010, at 1:28 PM, Rob Lingle wrote: I found that I could get rid of my original error: loading autotest/rails_rspec2 Autotest style autotest/rails_rspec2 doesn't seem to exist. Aborting. By installing rspec-rails on my system: sudo gem install rspec-rails -v=2.0.0.beta.8 Try beta

Re: [rspec-users] Rails 3, Rspec 2, Autotest

2010-06-06 Thread Rob Lingle
I found that I could get rid of my original error: loading autotest/rails_rspec2 Autotest style autotest/rails_rspec2 doesn't seem to exist. Aborting. By installing rspec-rails on my system: sudo gem install rspec-rails -v=2.0.0.beta.8 Now when I run autotest in my app- or in the example app fr