Re: [rspec-users] spork doesn't find helpers

2009-11-27 Thread Martin
I forgot to tell you the versions I'm using: spork: 0.7.3 rspec: 1.2.9 rails: 2.3.5 Hi, I'm running into a problem with spork: The helper methods in app/helpers/simpler_helper.rb are not found when using spork: > rake spec (in longPath/test1) ..F.. 1) ActionView::

[rspec-users] spork doesn't find helpers

2009-11-27 Thread Martin
Hi, I'm running into a problem with spork: The helper methods in app/helpers/simpler_helper.rb are not found when using spork: > rake spec (in longPath/test1) ..F.. 1) ActionView::TemplateError in '/items/index.html.erb renders a list of items' undefined method `simple

Re: [rspec-users] Spec helper configuration problem

2009-11-27 Thread Ben Mabey
Andrew Premdas wrote: Hi all, I have a rails application whose specs run on about eight different boxes, but I can't get them to work on my integration server. The bit thats breaking concerns some modules that I have in spec/support/modules which are loaded by the following line in spec_help

[rspec-users] Spec helper configuration problem

2009-11-27 Thread Andrew Premdas
Hi all, I have a rails application whose specs run on about eight different boxes, but I can't get them to work on my integration server. The bit thats breaking concerns some modules that I have in spec/support/modules which are loaded by the following line in spec_helper # get any macros etc

Re: [rspec-users] Depot app, Demeter's law and troubles cleanly specing

2009-11-27 Thread David Chelimsky
On Thu, Nov 26, 2009 at 9:24 PM, Emerson Macedo wrote: > Fernando Perez wrote: > > Hi, > > > > Let's take the example of the depot app. In my controller I set @order. > > Then in the view comes the bad stuff: > > > > @order.items.each do |item| > > item.product.title > > end > > > > Now I'm havi

Re: [rspec-users] Display Rspec output in an html file

2009-11-27 Thread David Chelimsky
On Fri, Nov 27, 2009 at 3:21 AM, Amit Kulkarni wrote: > Amit Kulkarni wrote: > > Any suggestions on the above topic > > Hello, > I want to print my output in an html file. > I am using command rake spec:controllers --format html:result.html from > the root directory > But it is not working. > Ple

Re: [rspec-users] Display Rspec output in an html file

2009-11-27 Thread Amit Kulkarni
Amit Kulkarni wrote: > Any suggestions on the above topic Hello, I want to print my output in an html file. I am using command rake spec:controllers --format html:result.html from the root directory But it is not working. Please suggest -- Posted via http://www.ruby-forum.com/. _