Skip to content

How to generate JS file on CI environment? #281

Closed
@hakunin

Description

@hakunin

Hi,
in my tests that require the views to be rendered I get these:

  5) App::BoardsController regular user doesn't see boards he's not part of
     Failure/Error: get :index
     ActionView::Template::Error:
       couldn't find file 'generated/vendor-bundle'
         (in /home/ubuntu/hubstaff-projects/app/assets/javascripts/application.js:7)
     # ./app/views/layouts/application.haml:17:in `_app_views_layouts_application_haml__1848313640771384837_121778940'
     # ./spec/controllers/app/boards_controller_spec.rb:163:in `block (3 levels) in <top (required)>'

Is there a command I can run to make sure the files are there before the test starts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions