1 # -*- encoding: utf-8 -*-
5 describe SpeechBalloonTemplate do
8 @admin =FactoryGirl.create :admin
9 @user_yas = FactoryGirl.create :user_yas_with_owner
10 @user_rom = FactoryGirl.create :user_rom
11 @author_yas = @user_yas.author
14 describe '生成メソッドに於いて' do
16 @item = FactoryGirl.create :scroll_hello_with_scroll_panels, author: @author_yas
19 describe 'leaf_itemsに於いて' do
20 it 'ぶら下がるそれぞれのリーフを取得できる' do
21 define_leaf_items? @item, [ScrollPanel]
25 describe 'leafs_itemsに於いて' do
27 define_leafs_items? @item, [ScrollPanel]
33 describe 'boostに於いて' do
35 @item = FactoryGirl.create :scroll_hello_with_scroll_panels, author: @author_yas
38 it 'ブーストメッセージをリーフに伝搬する' do
44 describe LicenseGroup do
45 include TemplateMacros
47 @admin =FactoryGirl.create :admin
48 @user_yas = FactoryGirl.create :user_yas_with_owner
49 @user_rom = FactoryGirl.create :user_rom
50 @author_yas = @user_yas.author
53 describe '生成メソッドに於いて' do
55 @item = FactoryGirl.create :scroll_hello_with_scroll_panels, author: @author_yas
58 describe 'leaf_itemsに於いて' do
59 it 'ぶら下がるそれぞれのリーフを取得できる' do
60 define_leaf_items? @item, [ScrollPanel]
64 describe 'leafs_itemsに於いて' do
66 define_leafs_items? @item, [ScrollPanel]
72 describe 'boostに於いて' do
74 @item = FactoryGirl.create :scroll_hello_with_scroll_panels, author: @author_yas
77 it 'ブーストメッセージをリーフに伝搬する' do
83 describe WritingFormat do
84 include TemplateMacros
86 @admin =FactoryGirl.create :admin
87 @user_yas = FactoryGirl.create :user_yas_with_owner
88 @user_rom = FactoryGirl.create :user_rom
89 @author_yas = @user_yas.author
92 describe '生成メソッドに於いて' do
96 describe 'leaf_itemsに於いて' do
97 it 'ぶら下がるそれぞれのリーフを取得できる' do
98 define_leaf_items? @item, [ComicStory]
102 describe 'leafs_itemsに於いて' do
103 it 'すべてのリーフを取得できる' do
104 define_leafs_items? @item, [ComicStory]
110 describe 'boostに於いて' do
112 @item = FactoryGirl.create :scroll_hello_with_scroll_panels, author: @author_yas
115 it 'ブーストメッセージをリーフに伝搬する' do