Skip to content

Commit

Permalink
Technical/Update gem documentation (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
bestwebua committed Jan 24, 2022
1 parent 2c1bca8 commit 4ecf27e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ Require this either in your Gemfile or in RSpec's support scripts. So either:

```ruby
# Gemfile

group :test do
gem 'rspec'
gem 'smtp_mock', require: 'smtp_mock/test_framework/rspec'
Expand All @@ -167,6 +168,7 @@ or

```ruby
# spec/support/config/smtp_mock.rb

require 'smtp_mock/test_framework/rspec'
```

Expand All @@ -176,13 +178,14 @@ Just add `SmtpMock::TestFramework::RSpec::Helper` if you wanna use shortcut `smt

```ruby
# spec/support/config/smtp_mock.rb

RSpec.configure do |config|
config.include SmtpMock::TestFramework::RSpec::Helper
end
```

```ruby
# your awesome first_a_record_spec.rb
# your awesome smtp_client_spec.rb

RSpec.describe SmtpClient do
subject(:smtp_response) do
Expand Down

0 comments on commit 4ecf27e

Please sign in to comment.