|
22 | 22 | it { should respond_to(:is_moderator_of?).with(1).arguments }
|
23 | 23 | it { should_not respond_to(:is_god?) }
|
24 | 24 |
|
| 25 | + it { should respond_to(:is_waiting?) } |
| 26 | + it { should_not respond_to(:is_awaiting?) } |
| 27 | + |
25 | 28 | it { subject.is_admin?.should be(true) }
|
26 | 29 | it { subject.is_admin?.should be(true) }
|
27 | 30 | it { subject.is_admin?.should be(true) }
|
|
49 | 52 | it { should_not respond_to(:is_god?) }
|
50 | 53 | it { should_not respond_to(:is_god_of?) }
|
51 | 54 |
|
| 55 | + it { should respond_to(:is_waiting?) } |
| 56 | + it { should_not respond_to(:is_awaiting?) } |
| 57 | + |
52 | 58 | it { subject.is_moderator?.should be(false) }
|
53 | 59 | it { subject.is_moderator_of?(Forum).should be(false) }
|
54 | 60 | it { subject.is_moderator_of?(Forum.first).should be(true) }
|
|
80 | 86 | it { should_not respond_to(:is_god?) }
|
81 | 87 | it { should_not respond_to(:is_god_of?) }
|
82 | 88 |
|
| 89 | + it { should respond_to(:is_waiting?) } |
| 90 | + it { should_not respond_to(:is_awaiting?) } |
| 91 | + |
83 | 92 | it { subject.is_manager?.should be(false) }
|
84 | 93 | it { subject.is_manager_of?(Forum).should be(true) }
|
85 | 94 | it { subject.is_manager_of?(Forum.first).should be(true) }
|
|
127 | 136 | it { should_not respond_to(:is_god?) }
|
128 | 137 | it { should_not respond_to(:is_god_of?) }
|
129 | 138 |
|
| 139 | + it { should respond_to(:is_waiting?) } |
| 140 | + it { should_not respond_to(:is_awaiting?) } |
| 141 | + |
130 | 142 | it { subject.is_batman?.should be(false) }
|
131 | 143 | it { subject.is_batman_of?(Forum).should be(false) }
|
132 | 144 | it { subject.is_batman_of?(Forum.first).should be(false) }
|
|
0 commit comments