On Mon, Apr 30, 2012 at 8:28 PM, Craig Ambrose <[email protected]> wrote:
> Hi Jim,
>
> At some point in my experimentation, the error changed to something like a
> failure to find the feature directory. I was attempting to proceed in very
> slow and measured steps, but I missed noticing exactly how and when that
> error change occurred. To fix that later error, I added an empty cucumber
> directory structure to my base app. Now, when it tries to run the
> integration tests (by which it seems to mean cucumber scenarios) it finds
> zero cucumber features and so passes. That means that my "rake spec" is
> passing again, so it seems good.
>
> Is that what I should be expecting? Does refinery come with any cucumber
> scenarios of it's own, or is it fine to be passing with zero specs?

Ha ha. I don't know if refinery does, but Radiant has cucumber features ;-P
I don't recall if the task runs the Radiant specs along with your own,
but I'll try to dig into this sometime this week if I can.

-Jim

>
> regards,
>
> Craig
>
> --
> Craig Ambrose
>
> On Tuesday, 1 May 2012 at 8:33 AM, Jim Gay wrote:
>
> Can you paste the full stack trace somewhere?
>
> On Thu, Apr 19, 2012 at 9:36 PM, Craig Ambrose <[email protected]>
> wrote:
>
> Hi everyone,
>
> I have an app I have upgraded from 0.8.6 to 1.0.1, and all the specs
> are working fine, except for the integration specs. Running them
> generates the following error immediately:
>
> no such file to load -- file_not_found_page (MissingSourceFile)
> /Users/craig/.rvm/gems/ruby-1.8.7-p334@nzffa/gems/activesupport-2.3.14/
> lib/active_support/dependencies.rb:184:in `require'
> /Users/craig/.rvm/gems/ruby-1.8.7-p334@nzffa/gems/activesupport-2.3.14/
> lib/active_support/dependencies.rb:184:in `require'
> /Users/craig/.rvm/gems/ruby-1.8.7-p334@nzffa/gems/radiant-1.0.1/spec/
> datasets/file_not_found_dataset.rb:1
>
> This is true if I run "bundle exec rake spec:integration", or if they
> run as part of a full spec run.
>
> Although my app is an upgrade, I've disabled all extensions and still
> get this issue.
>
> Line 1 of radiant-1.0.1/spec/datasets/file_not_found_dataset.rb does
> indeed try to require 'file_not_found_page.rb'. If I require this file
> from within the console of my app, it works fine. So, possibly this is
> an issue related to include paths. Potentially this may relate to
> which exact version of cucumber I'm using. My Gemfile.lock includes:
>
>    cucumber (1.1.9)
>      builder (>= 2.1.2)
>      diff-lcs (>= 1.1.2)
>      gherkin (~> 2.9.0)
>      json (>= 1.4.6)
>      term-ansicolor (>= 1.0.6)
>    cucumber-rails (0.3.2)
>      cucumber (>= 0.8.0)
>    database_cleaner (0.6.7)
>
> Does anyone have any leads on this?
>
> cheers,
>
> Craig Ambrose
>
>
>
>
> --
> Write intention revealing code #=> http://www.clean-ruby.com
>
> Jim Gay
> Saturn Flyer LLC
> 571-403-0338
>
>



-- 
Write intention revealing code #=> http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338

Reply via email to