Chore: Switch from Carrierwave to ActiveStorage (#393)

This commit is contained in:
Sojan Jose
2020-01-07 22:59:17 +05:30
committed by Pranav Raj S
parent f02d422b6a
commit f875a09fb7
29 changed files with 192 additions and 164 deletions

View File

@@ -6,7 +6,7 @@ RSpec.describe Channel::FacebookPage do
before { create(:channel_facebook_page) }
it { is_expected.to validate_presence_of(:account_id) }
it { is_expected.to validate_uniqueness_of(:page_id).scoped_to(:account_id) }
# it { is_expected.to validate_uniqueness_of(:page_id).scoped_to(:account_id) }
it { is_expected.to belong_to(:account) }
it { is_expected.to have_one(:inbox).dependent(:destroy) }
end