1 # -*- encoding: utf-8 -*-
7 FactoryGirl.create :admin
8 @user = FactoryGirl.create( :user_yas)
12 describe '自動補充に於いて' do
14 it '名前がno nameになっている' do
15 @author.name.should eq 'no name'
19 describe '絵師作家判定に於いて' do
24 artist = FactoryGirl.create :artist, :author_id => @author.id
25 @author.artist?.should eq true
28 context 'Falseのケース' do
30 @author.artist?.should eq false