[rspec-users] Rspec beta8: helper methods issues

2010-05-07 Thread andrea longhi
Hello everybody, I am experiencing the following problems, I googled quickly but I couldn't find any documentation or solution to those issues: 1) the generator rails g rspec:helper does nothing; 2) there seems to be no way to test helper methods as I used to do... for example the following spec

Re: [rspec-users] Error: can't convert Rspec::Mocks::Mock to String

2010-05-03 Thread andrea longhi
On 3 Mag, 14:14, David Chelimsky wrote: > I see the same error (hadn't run against 1.9.2 in a while). Reported > tohttp://github.com/rspec/rspec-rails/issues/issue/41 Thanks David. I added this to my spec_helper.rb file Rspec::Mocks::Mock.module_eval do alias to_str to_s end and now it se

[rspec-users] Error: can't convert Rspec::Mocks::Mock to String

2010-05-03 Thread andrea longhi
Hello *, I started today to test rspec current beta with ruby 1.9.2 and rails 3.0. I created a basic app with a scaffold. I am experiencing a lot of failures in the geneated controller spec. I am pasting the complete error string: can't convert Rspec::Mocks::Mock to String (Rspec::Mocks::Mock#to_