OSDN Git Service

merge v04
[pettanr/pettanr.git] / spec / models / balloon_spec.rb
index e3cb45e..2d8bf45 100644 (file)
@@ -7,7 +7,6 @@ describe Balloon do
     @user = Factory( :user_yas)\r
     @author = @user.author\r
     @artist = Factory :artist_yas, :author_id => @author.id\r
-    @license = Factory :license\r
     \r
     @balloon = Factory :panel\r
     @speech_balloon_template = Factory :speech_balloon_template\r
@@ -28,6 +27,7 @@ describe Balloon do
       before do\r
         @balloon = Factory.build :balloon, :speech_balloon_id => @speech_balloon.id, :system_picture_id => @system_picture.id\r
       end\r
+      #ネストの保存はnilを許可しなければならないので数値チェックだけ
       it 'テストデータの確認' do\r
         @balloon.speech_balloon_id = @speech_balloon.id\r
         @balloon.should be_valid\r