Created
          November 15, 2014 07:58 
        
      - 
      
- 
        Save just3ws/7971e681e24298d0e7d2 to your computer and use it in GitHub Desktop. 
    Error running Capybara Tests. UI works fine in browser but crashes when automated using PhantomJS
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | {"error"=>{"name"=>"Poltergeist.JavascriptError", "args"=>[[{"message"=>"TypeError: 'undefined' is not an object (evaluating 'jqXHR.responseJSON.join')", "stack"=>"TypeError: 'undefined' is not an object (evaluating 'jqXHR.responseJSON.join') | |
| at http://127.0.0.1:51206/assets/application.js:12369 | |
| at http://127.0.0.1:51206/assets/application.js:3120 | |
| at http://127.0.0.1:51206/assets/application.js:3232 | |
| at http://127.0.0.1:51206/assets/application.js:9278 in done | |
| at http://127.0.0.1:51206/assets/application.js:9686"}]]}} | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Using Poltergeist/Capybara to automate feature tests. The code already works fine in the browser but when the event is triggered in PhantomJS the above error is generated inside the PhantomJS browser.