end
it 'フキダシはフキダシ枠を含んでいる' do
r = Story.list_opt
- r[:panel][:speech_balloons].has_key?(:balloons).should be_true
+ r[:panel][:speech_balloons].has_key?(:balloon).should be_true
end
it 'フキダシはセリフを含んでいる' do
r = Story.list_opt
- r[:panel][:speech_balloons].has_key?(:speeches).should be_true
+ r[:panel][:speech_balloons].has_key?(:speech).should be_true
end
end
describe 'json一覧出力オプションに於いて' do
end
it 'フキダシはフキダシ枠を含んでいる' do
r = Story.show_opt[:include]
- r[:panel][:speech_balloons].has_key?(:balloons).should be_true
+ r[:panel][:speech_balloons].has_key?(:balloon).should be_true
end
it 'フキダシはセリフを含んでいる' do
r = Story.show_opt[:include]
- r[:panel][:speech_balloons].has_key?(:speeches).should be_true
+ r[:panel][:speech_balloons].has_key?(:speech).should be_true
end
end
describe 'json単体取得オプションに於いて' do