An open API service indexing awesome lists of open source software.

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

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.