OSDN Git Service

fix test
[pettanr/pettanr.git] / spec / manifests / scroll_spec.rb
1 # -*- encoding: utf-8 -*-
2 require 'spec_helper'
3 #スクロールマニフェスト
4
5 describe Scroll do
6   before do
7   end
8   
9   describe 'ペタナイズに於いて' do
10     context 'オーソドックスなデータのとき' do
11       it 'スクコマを閉じるためのバインダーである' do
12         expect(@item.is_a?(Peta::Binder)).to be true
13       end
14       it 'ブースト特筆すべき注意事項はない' do
15         expect(self.class.my_peta.boost.keys).to be true
16       end
17     end
18     
19   end
20   
21   describe 'コントローラに於いて' do
22     describe 'actionに於いて' do
23       it 'スクコマを閉じるためのバインダーである' do
24         expect(@item.is_a?(Peta::Binder)).to be true
25       end
26       it 'ブースト特筆すべき注意事項はない' do
27         expect(self.class.my_peta.boost.keys).to be true
28       end
29     end
30     
31   end
32   
33   describe 'モデルに於いて' do
34     context 'オーソドックスなデータのとき' do
35       it 'スクコマを閉じるためのバインダーである' do
36         expect(@item.is_a?(Peta::Binder)).to be true
37       end
38       it 'ブースト特筆すべき注意事項はない' do
39         expect(self.class.my_peta.boost.keys).to be true
40       end
41     end
42     
43   end
44   
45 end