Re: [rspec-users] rspec-rails 2.0.0.beta.12 showing undefined method error for route_to

2011-05-26 Thread Vineeth Pradhan
One of the problems could be that your routing specs is in the wrong directory. Make sure all your routing specs go into 'spec/routing' directory. Hope that helps. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@ruby

[rspec-users] report testing.

2011-05-26 Thread Guilherme Reis
Hi, Given i'm developing report charts with some data(on activerecord), i want to know what would be tested in this case ? For ex. A report for amount of created users along the time. thank you ___ rspec-users mailing list rspec-users@rubyforge.org http

Re: [rspec-users] fluent chaining drying

2011-05-26 Thread Gustavo Delfino
Thank you so much Justin. Crystal clear now. Regards, Gustavo Delfino On May 26, 2011, at 12:05 AM, Justin Ko wrote: > Actually, the lambda approach won't work, because you're carrying state > (@index & @width) that is outside of scope in the matcher. This is what it > would look like though:

[rspec-users] Simple routing spec issue - syntax error

2011-05-26 Thread Peter Bell
Hi All, New to rspec. Done some Rails, done TDD in other languages, trying to get the two to meet. Getting a syntax error on my first routing spec: context "public routing" do it "routes / to public#landing" do { :get => "/" }.should route_to{:controller => "public", :action => "landing"}

Re: [rspec-users] Simple routing spec issue - syntax error

2011-05-26 Thread David Chelimsky
On May 26, 2011, at 11:51 AM, Peter Bell wrote: > Hi All, > > New to rspec. Done some Rails, done TDD in other languages, trying to get the > two to meet. Getting a syntax error on my first routing spec: > > context "public routing" do > it "routes / to public#landing" do >{ :get => "/" }.

Re: [rspec-users] autorun?

2011-05-26 Thread rogerdpack2
> This changed in 2.6, and I'd be willing to change it back (as it represents a > regression in a minor release), but I'd prefer not to. It did bite me, but I almost like the explicitness more... -roger- ___ rspec-users mailing list rspec-users@rubyfor