0
0
Fork 0

Add unfollow modal (optional) (#4246)

* Add unfollow modal

* unfollowing someone

* remove unnecessary prop
This commit is contained in:
Yamagishi Kazutoshi 2017-07-19 00:14:43 +09:00 committed by Eugen Rochko
parent 89b988cab5
commit 3267e4a785
43 changed files with 146 additions and 5 deletions

View file

@ -35,6 +35,13 @@ describe UserSettingsDecorator do
expect(user.settings['default_sensitive']).to eq true
end
it 'updates the user settings value for unfollow modal' do
values = { 'setting_unfollow_modal' => '0' }
settings.update(values)
expect(user.settings['unfollow_modal']).to eq false
end
it 'updates the user settings value for boost modal' do
values = { 'setting_boost_modal' => '1' }