[rspec-users] Error while running rspec after unpacking rails gems

2010-06-08 Thread Amiruddin Nagri
oad_files' from /home/xuser/.gem/ruby/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:133:in `run_examples' from /home/xuser/.gem/ruby/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in `run' from /home/xuser/.gem/ruby/1.8/gems/rspec-1.3.0/bin/spec:5 Is there anythin

Re: [rspec-users] Error while running rspec after unpacking rails gems

2010-06-09 Thread Amiruddin Nagri
Hi David, I am using autospec and it by default runs using 'spec' rather than 'script/spec'. Can you give me a quick direction of how to configure it to use the former. Thanks, Amiruddin Nagri, Bangalore, 560008, KA India Y! IM : amir_na...@yahoo.com GTalk : amir.na...@gmai

[rspec-users] Custom Matchers : Shouldn't they follow DRY principle ?

2010-06-09 Thread Amiruddin Nagri
it fails for be_nil not found. I am finding this way of reusing the matchers not correct. Is there a standard way of re-using matchers inside matchers ? Have anybody tried it out ? Regards, Amiruddin Nagri, Bangalore, 560008, KA India Y! IM : amir_na...@yahoo.com GTalk : amir.na...@gmail.

Re: [rspec-users] rspec 2 not cleaning up after examples run?

2010-06-30 Thread Amiruddin Nagri
I am not sure if this will help or not but I was also getting data not cleared properly when run specs through rake but when ran using script/spec it was cleaning up the data Amir On Jun 30, 2010 10:56 PM, "David Chelimsky" wrote: On Jun 30, 2010, at 11:55 AM, Timo Rößner wrote: > On Jun 29,

[rspec-users] render_with_layout not working with RSpec 2 + Rails 3 + shoulda 2.11.3

2010-09-06 Thread Amiruddin Nagri
ith a lot of essential plugins still being ironed out ? Thanks, Amiruddin Nagri ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] RSpec beta 22 with Rails 3

2010-09-21 Thread Amiruddin Nagri
if I have forgotten any configuration for rcov. Here is the link to sample app with reproducible behavior which I am getting while running 'rake spec:rcov' => http://github.com/anagri/rspecsample Regards, Amiruddin Nagri, Bangalore, 560008, KA India Y! IM : amir_na...@yahoo

Re: [rspec-users] RSpec beta 22 with Rails 3

2010-09-21 Thread Amiruddin Nagri
On Wed, Sep 22, 2010 at 12:54 AM, David Chelimsky wrote: > > On Sep 21, 2010, at 4:08 AM, Amiruddin Nagri wrote: > > I am working on a Rails 3 application. Recently bundler got an update for > rspec, which upgraded it to 22, (previously we were using beta 20). > > After the

[rspec-users] route_to to test root route

2010-09-28 Thread Amiruddin Nagri
ot routes which are also configured elsewhere in the routes.rb. Regards, Amiruddin Nagri, Bangalore, 560008, KA India Y! IM : amir_na...@yahoo.com GTalk : amir.na...@gmail.com ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] autotest giving error when having shared example in specs

2010-09-28 Thread Amiruddin Nagri
ude shared example files loaded through command line, but only include files with pattern "*_spec.rb", or have anyone else facing same situation. Regards, Amiruddin Nagri, Bangalore, 560008, KA India Y! IM : amir_na...@yahoo.com GTalk : amir.na...@gmail.com