File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
--require spec_helper
2
2
--color
3
- --format = doc
Original file line number Diff line number Diff line change @@ -22,7 +22,13 @@ This command loads the dummy app with test data.
22
22
To navigate the application you can run, inside the ` /spec/dummy ` directory:
23
23
24
24
```
25
- rails s
25
+ bin/rails s
26
+ ```
27
+
28
+ If you are using webpacker, it can be useful to run:
29
+
30
+ ```
31
+ bin/webpack-dev-server
26
32
```
27
33
28
34
> It is a good idea to add to the dummy app any new functionality. See for example the file: ` /spec/dummy/app/admin/invoices.rb `
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
4
4
ENV [ "NODE_ENV" ] ||= "development"
5
5
6
6
require "pathname"
7
- ENV [ "BUNDLE_GEMFILE" ] ||= File . expand_path ( "../../Gemfile" ,
7
+ ENV [ "BUNDLE_GEMFILE" ] ||= File . expand_path ( "../../../../ Gemfile" ,
8
8
Pathname . new ( __FILE__ ) . realpath )
9
9
10
10
require "bundler/setup"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
4
4
ENV [ "NODE_ENV" ] ||= "development"
5
5
6
6
require "pathname"
7
- ENV [ "BUNDLE_GEMFILE" ] ||= File . expand_path ( "../../Gemfile" ,
7
+ ENV [ "BUNDLE_GEMFILE" ] ||= File . expand_path ( "../../../../ Gemfile" ,
8
8
Pathname . new ( __FILE__ ) . realpath )
9
9
10
10
require "bundler/setup"
You can’t perform that action at this time.
0 commit comments