Skip to content

Commit

Permalink
Please GitHub I have a life
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspth committed Jun 30, 2024
1 parent 3daac04 commit d48fcb6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ Oaken.prepare do
end
```

[!TIP] `defaults` are particularly well suited for assigning generated data with [Faker](https://github.com/faker-ruby/faker).
> [!TIP]
> `defaults` are particularly well suited for assigning generated data with [Faker](https://github.com/faker-ruby/faker).
### Reusing data in tests

Expand All @@ -93,7 +94,8 @@ end

Now tests have access to `accounts.kaspers_donuts` and `users.kasper` etc. that were setup in the data scripts.

> [!NOTE] For RSpec, you can put this in `spec/rails_helper.rb`:
> [!NOTE]
> For RSpec, you can put this in `spec/rails_helper.rb`:
> ```ruby
> require "oaken/rspec_setup"
> ```
Expand Down

0 comments on commit d48fcb6

Please sign in to comment.