mirror of
https://github.com/Growstuff/growstuff.git
synced 2025-12-24 01:57:46 -05:00
This change removes the twitter authentication feature from the application. It removes the `omniauth-twitter` gem and all related code from controllers, views, and tests. It also removes the twitter icon and environment variable settings.
19 lines
356 B
Ruby
19 lines
356 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Read about factories at https://github.com/thoughtbot/factory_bot
|
|
|
|
FactoryBot.define do
|
|
factory :authentication do
|
|
member
|
|
provider { 'flickr' }
|
|
uid { 'foo' }
|
|
secret { 'bar' }
|
|
name { 'baz' }
|
|
|
|
factory :flickr_authentication do
|
|
provider { 'flickr' }
|
|
uid { 'blah@blah' }
|
|
end
|
|
end
|
|
end
|