|
88 | 88 | it_behaves_like 'tagTLのauthorizedチャンネルに配信される' |
89 | 89 | end |
90 | 90 |
|
| 91 | + context 'private' do |
| 92 | + let(:visibility) { :private } |
| 93 | + it_behaves_like 'LTLに配信されない' |
| 94 | + it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
| 95 | + it_behaves_like 'tagTLのauthorizedチャンネルに配信されない' |
| 96 | + end |
| 97 | + |
| 98 | + context 'direct' do |
| 99 | + let(:visibility) { :direct } |
| 100 | + it_behaves_like 'LTLに配信されない' |
| 101 | + it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
| 102 | + it_behaves_like 'tagTLのauthorizedチャンネルに配信されない' |
| 103 | + end |
| 104 | + |
91 | 105 | context 'メンションが含まれる投稿' do |
92 | 106 | let(:body) { '@tachibana ヘイヘーイ。 そこのカノジョー、一緒にブラデリカしないかーい? #hoge #fuga #nyowa' } |
93 | 107 |
|
|
104 | 118 | it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
105 | 119 | it_behaves_like 'tagTLのauthorizedチャンネルに配信される' |
106 | 120 | end |
| 121 | + |
| 122 | + context 'private' do |
| 123 | + let(:visibility) { :private } |
| 124 | + it_behaves_like 'LTLに配信されない' |
| 125 | + it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
| 126 | + it_behaves_like 'tagTLのauthorizedチャンネルに配信されない' |
| 127 | + end |
| 128 | + |
| 129 | + context 'direct' do |
| 130 | + let(:visibility) { :direct } |
| 131 | + it_behaves_like 'LTLに配信されない' |
| 132 | + it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
| 133 | + it_behaves_like 'tagTLのauthorizedチャンネルに配信されない' |
| 134 | + end |
107 | 135 | end |
108 | 136 |
|
109 | 137 | context '自分以外の投稿へのin_reply_toが設定されている投稿' do |
|
122 | 150 | it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
123 | 151 | it_behaves_like 'tagTLのauthorizedチャンネルに配信されない' |
124 | 152 | end |
| 153 | + |
| 154 | + context 'private' do |
| 155 | + let(:visibility) { :private } |
| 156 | + it_behaves_like 'LTLに配信されない' |
| 157 | + it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
| 158 | + it_behaves_like 'tagTLのauthorizedチャンネルに配信されない' |
| 159 | + end |
| 160 | + |
| 161 | + context 'direct' do |
| 162 | + let(:visibility) { :direct } |
| 163 | + it_behaves_like 'LTLに配信されない' |
| 164 | + it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
| 165 | + it_behaves_like 'tagTLのauthorizedチャンネルに配信されない' |
| 166 | + end |
125 | 167 | end |
126 | 168 |
|
127 | 169 | context '自分の投稿へのin_reply_toが設定されている投稿' do |
|
140 | 182 | it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
141 | 183 | it_behaves_like 'tagTLのauthorizedチャンネルに配信される' |
142 | 184 | end |
| 185 | + |
| 186 | + context 'private' do |
| 187 | + let(:visibility) { :private } |
| 188 | + it_behaves_like 'LTLに配信されない' |
| 189 | + it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
| 190 | + it_behaves_like 'tagTLのauthorizedチャンネルに配信されない' |
| 191 | + end |
| 192 | + |
| 193 | + context 'direct' do |
| 194 | + let(:visibility) { :direct } |
| 195 | + it_behaves_like 'LTLに配信されない' |
| 196 | + it_behaves_like 'tagTLのunauthorizedチャンネルに配信されない' |
| 197 | + it_behaves_like 'tagTLのauthorizedチャンネルに配信されない' |
| 198 | + end |
143 | 199 | end |
144 | 200 | end |
145 | 201 | end |
0 commit comments