OSDN Git Service

t#31535::speech_balloon has one :speech and balloon
[pettanr/pettanr.git] / spec / models / story_spec.rb
index c8c2f4f..8c72c07 100644 (file)
@@ -637,11 +637,11 @@ describe Story do
       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
@@ -776,11 +776,11 @@ describe Story 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