Skip to content

Support test rails enviroment #59

@codebryo

Description

@codebryo

Hi,

maybe I am doing it wrong, but when I run my specs for the application with rspec,
it still tries to load the development.js file.
I tried to create a test.js and thought as RAILS_ENV gets picked up by bin/webpack anyway it should be fine. But it's not working.
Even if I call RAILS_ENV=test rspec spec/... it will be available inside the app, but is ignored by the webpack script.

Am I missing something here?

Best,
Roman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions