App passes all test in development but fails in Travis

13 views
Skip to first unread message

Jason Hsu, Ruby on High Speed Rails

unread,
Sep 9, 2016, 5:57:47 PM9/9/16
to Ruby on Rails: Talk
My Rails app consistently passes all tests in the development environment, but my Travis builds keep failing. The source code is at https://github.com/jhsu802701/generic_app_template_rails5/tree/travis .

The test results are at https://travis-ci.org/jhsu802701/generic_app_template_rails5

The parts of the code that fail in Travis are:
1. app/views/static_pages/home.html.erb: link_to image_tag at end; ActionView::Template::Error: wrong number of arguments (given 1, expected 0)
2. app/views/layouts/application.html.erb: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>; ActionView::Template::Error: wrong number of arguments (given 1, expected 0)

I thought that not having Node installed in Travis was the problem. I finally was able to get Node installed in Travis, but that didn't resolve the problem.
Reply all
Reply to author
Forward
0 new messages