spec/support/eventbrite_secrets_support.rb
# Stub Rails.application.config.eventbrite with valid data.
Stub Rails.application.config.eventbrite with valid data.
Stub Rails . application . config . eventbrite with valid data .
def stub_eventbrite_config
  allow(Rails.application.config).to receive_messages(eventbrite: {
    url: 'https://www.eventbriteapi.com/v3',
    oauth_token: '123456',
    event_id: '789',
    tickets:  '123',
  })
end
def stub_eventbrite_config allow ( Rails . application . config ) . to receive_messages ( eventbrite : { url : 'https://www.eventbriteapi.com/v3' , oauth_token : '123456' , event_id : '789' , tickets : '123' , } ) end
Stub Rails.application.config.eventbrite with valid data.
Stub Rails . application . config . eventbrite with valid data .