OSDN Git Service

pass test
[pettanr/pettanr.git] / spec / models / artist_spec.rb
index a3a167f..42bb737 100644 (file)
@@ -34,7 +34,7 @@ describe Artist do
   describe '自動補充に於いて' do
     it '名前がno nameになっている' do
       @artist = Factory.build :artist, :name => nil
-      @artist.save
+      @artist.supply_default
       @artist.name.should eq 'no name'
     end
   end