```ruby
require "apostle_rails/version"
require "apostle_rails/mailer"
```

Set apostle config if in rails test mode
user
```ruby
require 'apostle'
require "apostle_rails/version"
require "apostle_rails/mailer"

if defined?(Rails) && Rails.env.test?
  Apostle.configure do |config|
    config.deliver = false
  end
end
```
assistant