@spree/cli 2.3.7 → 2.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist/index.js +132 -118
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,6 +88,19 @@ Open an interactive Rails console inside the running container.
|
|
|
88
88
|
spree console
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
+
### `spree rspec`
|
|
92
|
+
|
|
93
|
+
Run the RSpec test suite inside the web container with `RAILS_ENV=test`. Everything after `rspec` is passed through to RSpec.
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
spree rspec # full suite
|
|
97
|
+
spree rspec spec/models/product_spec.rb # one file
|
|
98
|
+
spree rspec spec/models/product_spec.rb:15 # one example
|
|
99
|
+
spree rspec --format documentation
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Before the first run, create the test database with `spree rails db:test:prepare`.
|
|
103
|
+
|
|
91
104
|
### `spree user create`
|
|
92
105
|
|
|
93
106
|
Create an admin user. Prompts interactively for email and password, or accepts flags for scripting.
|