#76 ✓resolved
fairchild

superclass mismatch

Reported by fairchild | November 28th, 2008 @ 03:05 AM

getting errors such as railsbase/vendor/rails/actionpack/lib/action_controller/integration.rb:580: superclass mismatch for class IntegrationTest (TypeError)

http://github.com/brynary/webrat...

Comments and changes to this ticket

  • fairchild

    fairchild November 28th, 2008 @ 05:31 AM

    this is what fixed it for me:

    class ActionController::Integration::Session

    include Webrat::Methods
    
    

    end

  • Bryan Helmkamp

    Bryan Helmkamp November 28th, 2008 @ 02:29 PM

    • State changed from “new” to “resolved”

    I just pushed a commit that should resolve this by adding a require statement. On my project, which uses Webrat in vendor/plugins, it seems to work well now. Please let me know if you have any issues.

    Also, I switched to using class_eval which will fail fast if the class isn’t defined rather than potentially defining a class if it isn’t found.

  • fairchild

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Tags

Pages