https://github.com/knapsackpro/example-rails-rspec-knapsack_pro
Example Rails + RSpec + Knapsack Pro
https://github.com/knapsackpro/example-rails-rspec-knapsack_pro
Last synced: 7 months ago
JSON representation
Example Rails + RSpec + Knapsack Pro
- Host: GitHub
- URL: https://github.com/knapsackpro/example-rails-rspec-knapsack_pro
- Owner: KnapsackPro
- Created: 2025-06-02T14:09:06.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-06-02T14:29:24.000Z (7 months ago)
- Last Synced: 2025-06-03T02:58:30.228Z (7 months ago)
- Language: Ruby
- Size: 57.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
```bash
bundle install
```
# RSpec + Knapsack Pro
The RSpec `before(:suite)` hook is defined in [`spec/spec_helper.rb`](spec/spec_helper.rb).
Edit [`bin/knapsack_pro`](bin/knapsack_pro) to use your API token.
Run RSpec tests with Knapsack Pro:
```bash
bin/knapsack_pro
```
The expected output:
```
RSpec before(:suite) hook called.
.........
Finished in 0.42772 seconds (files took 0.19781 seconds to load)
9 examples, 0 failures
```
The RSpec `before(:suite)` hook is called.