diff options
| author | cedricnjanga | 2017-10-10 11:05:53 +0200 |
|---|---|---|
| committer | cedricnjanga | 2017-10-10 11:05:53 +0200 |
| commit | 91e85a1b974eb0bfb42df8c896570e0a690d11f1 (patch) | |
| tree | fe36c73e7a6d13a90d274897b1ea9378458fd524 /spec/teaspoon_env.rb | |
| parent | 91af53dce7183146f79313df48f7e58b4d950598 (diff) | |
| download | chouette-core-91e85a1b974eb0bfb42df8c896570e0a690d11f1.tar.bz2 | |
Need to test webpack config and to configure teaspoon to run React Apps specs
Diffstat (limited to 'spec/teaspoon_env.rb')
| -rw-r--r-- | spec/teaspoon_env.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/teaspoon_env.rb b/spec/teaspoon_env.rb index d9dd2cc47..da6697b28 100644 --- a/spec/teaspoon_env.rb +++ b/spec/teaspoon_env.rb @@ -10,11 +10,11 @@ Teaspoon.configure do |config| # Paths that will be appended to the Rails assets paths # Note: Relative to `config.root`. - config.asset_paths = ["spec/javascripts", "spec/javascripts/stylesheets"] + config.asset_paths = ["spec/javascript", "spec/javascript/stylesheets"] # Fixtures are rendered through a controller, which allows using HAML, RABL/JBuilder, etc. Files in these paths will # be rendered as fixtures. - config.fixture_paths = ["spec/javascripts/fixtures"] + config.fixture_paths = ["spec/javascript/fixtures"] # SUITES # @@ -38,7 +38,7 @@ Teaspoon.configure do |config| # Specify a file matcher as a regular expression and all matching files will be loaded when the suite is run. These # files need to be within an asset path. You can add asset paths using the `config.asset_paths`. - suite.matcher = "{spec/javascripts,app/assets}/**/*_spec.{js,js.coffee,coffee}" + suite.matcher = "{spec/javascript,app/javascript}/**/*_spec.{js,js.coffee,coffee}" # Load additional JS files, but requiring them in your spec helper is the preferred way to do this. #suite.javascripts = [] |
