Hi David

Thanks, the git repos work great.

I am trying to get autotest to work but keep getting this error.

loading autotest/rails_rspec
Autotest style autotest/rails_rspec doesn't seem to exist. Aborting.

Have you seen this before? Can you point me in the right direction?

Thanks a lot for your help so far.

Regards
Ivor

On Wed, Jul 2, 2008 at 2:02 PM, Ivor Paul <[EMAIL PROTECTED]> wrote:
> Hi David
>
> thanks for the response!
> This is what the error looks like for be_valid
> /activesupport/lib/active_support/dependencies.rb:478:in
> `const_missing': uninitialized constant
> Spec::Rails::Example::ModelExampleGroup::Be_valid
>
> and for be_nil
> /activesupport/lib/active_support/dependencies.rb:478:in
> `const_missing': uninitialized constant
> Spec::Rails::Example::ModelExampleGroup::Be_nil
>
> I invoke the tests using rake spec. I also get this error when I use
> ./script/spec path/to/file.
>
> We were using svn externals for the plugins. I will give github a try
> and let you know what happens.
>
> Thanks for the help.
> Ivor
>
> On Tue, Jul 1, 2008 at 10:57 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
>> On Jul 1, 2008, at 3:48 PM, Ivor Paul wrote:
>>
>>> I am getting errors that seem to be the matchers not working - example:
>>>
>>>
>>> vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:478:in
>>> `const_missing': uninitialized constant
>>> Spec::Rails::Example::ModelExampleGroup::Be_nil
>>>
>>> I have seen the same error with other matchers like be_valid etc.
>>
>> Does the code say Be_nil instead of be_nil?
>>
>>> Does anyone have an idea what could be causing this?
>>
>> How are you invoking rspec? With rake? ruby? script/spec? or autotest?
>>
>>> I am using the rspec and rspec_on_rails plugins. Pretty much the
>>> latest versions. Rails 2.0.2
>>
>> With the 1.1.4 release we changed rspec_on_rails to rspec-rails, so I'm
>> guessing you have the latest code that's still in subversion at rubyforge,
>> but not the latest from github.
>>
>> Would you mind giving the code from github a shot? Install instructions can
>> be found at http://github.com/dchelimsky/rspec-rails/wikis/home
>>
>> Cheers,
>> David
>>
>>> Regards
>>> Ivor
>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to