diff options
author | Surinna Curtis <ekiru.0@gmail.com> | 2017-09-13 20:44:38 -0500 |
---|---|---|
committer | Surinna Curtis <ekiru.0@gmail.com> | 2017-09-13 21:47:30 -0500 |
commit | d880b3182bef4b9b24b09b02aea7f66fc5d2d905 (patch) | |
tree | 9340c471c4d3f4408570ef7328d4b93aa55fcd9c /spec/models | |
parent | f9d7b8a94f4a89d76081a6265103f6d7439be250 (diff) |
minor code style fixes oops
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/concerns/account_interactions_spec.rb | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/spec/models/concerns/account_interactions_spec.rb b/spec/models/concerns/account_interactions_spec.rb index d1492d638..ef957fc1d 100644 --- a/spec/models/concerns/account_interactions_spec.rb +++ b/spec/models/concerns/account_interactions_spec.rb @@ -1,40 +1,40 @@ require 'rails_helper' describe AccountInteractions do - describe 'muting an account' do - before do - @me = Fabricate(:account, username: 'Me') - @you = Fabricate(:account, username: 'You') - end + describe 'muting an account' do + before do + @me = Fabricate(:account, username: 'Me') + @you = Fabricate(:account, username: 'You') + end - context 'with the notifications option unspecified' do - before do - @me.mute!(@you) - end + context 'with the notifications option unspecified' do + before do + @me.mute!(@you) + end - it 'defaults to muting notifications' do - expect(@me.muting_notifications?(@you)).to be(true) - end - end + it 'defaults to muting notifications' do + expect(@me.muting_notifications?(@you)).to be(true) + end + end - context 'with the notifications option set to false' do - before do - @me.mute!(@you, notifications: false) - end + context 'with the notifications option set to false' do + before do + @me.mute!(@you, notifications: false) + end - it 'does not mute notifications' do - expect(@me.muting_notifications?(@you)).to be(false) - end - end + it 'does not mute notifications' do + expect(@me.muting_notifications?(@you)).to be(false) + end + end - context 'with the notifications option set to true' do - before do - @me.mute!(@you, notifications: true) - end + context 'with the notifications option set to true' do + before do + @me.mute!(@you, notifications: true) + end - it 'does mute notifications' do - expect(@me.muting_notifications?(@you)).to be(true) - end - end - end -end \ No newline at end of file + it 'does mute notifications' do + expect(@me.muting_notifications?(@you)).to be(true) + end + end + end +end |