Re: [rspec-users] How to spec Rails view partials in shared folders

2011-05-23 Thread David Chelimsky
On May 23, 2011, at 5:54 PM, itsterry wrote: > Still can't find an answer on this one by Googling or tweaking > > Any thoughts appreciated... The following works for me: # # spec/shared/thing.html.erb_spec.rb require 'spec_helper' describe 'shared/_thing.h

Re: [rspec-users] How to spec Rails view partials in shared folders

2011-05-23 Thread itsterry
Still can't find an answer on this one by Googling or tweaking Any thoughts appreciated... On May 19, 11:09 am, itsterry wrote: > Hi all > > Would very much appreciate any assistance with this. Have Googled it > but can't find an answer to it. > > I'm using Rails3/Rspec2 > > I'm spec'ing a vie

[rspec-users] How to spec Rails view partials in shared folders

2011-05-19 Thread itsterry
Hi all Would very much appreciate any assistance with this. Have Googled it but can't find an answer to it. I'm using Rails3/Rspec2 I'm spec'ing a view which is a partial called 'shared/_panels'. When I try to spec it, I get an error that the controller 'shared' cannot be found (there isn't a c