Oh, forgot to mention that if I uninstall the rspec-rails gem from my
Ruby 1.9.1 gem repository, the problem goes away, and I can run the
tests in the non-Rails app without problem.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
Hi guys,
I'm getting this same error in a Ubuntu 9.04 machine.
I have Ruby 1.8.7 installed alongside Ruby 1.9.1.
When I'm on Ruby 1.9.1 and try to run the specs on a non-Rails app I get
this error:
===
/usr/local/bin/spec:19:in `load': Is a directory -
/usr/
I have two models:
Student has_many=>:grad_surveys
and
GradSurvey belongs_to=>:student
I am testing the GradSurveysController#update method with
it "should only allow update if the correct token is presented" do
@params = {:id=>"1", :token=>"ab56e1b47", :survey=>{}}
@mock_grad_s
Hey List,
This is probably a bit cheeky, but I thought it may be worth a try.
I have just started a new rails app, which I am going to try and drive
with Rspec and Cucumber as best as I can.
I have just finished a couple of tests, and a couple of lines of a
Model and I was wondering whether I co