require 'griddler/testing'
require 'griddler/sendgrid'
require 'action_dispatch'

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.order = 'random'
  config.include Griddler::Testing
end

require 'griddler/testing'
require 'griddler/sendgrid'
require 'action_dispatch'

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.order = 'random'
  config.include Griddler::Testing
  config.expect_with(:rspec) do |c|
    c.syntax = [:should, :expect]
  end
end

Enable both `should` and `expect` in RSpec
Enable both `should` and `expect` in RSpec

griddler-sendgrid uses `should` everywhere, but the shared expectation from
Griddler uses `expect`. To prevent warnings in newer versions of RSpec, enable
both syntaxes.
