spec/pupil_spec.rb in pupil-0.0.4 vs spec/pupil_spec.rb in pupil-0.0.5
- old
+ new
@@ -14,5 +14,16 @@
it "Array型を返すこと" do
@home_timeline.class.should == Array
end
end
+
+describe Pupil, "が #mentions を呼ぶ時は" do
+ before do
+ pupil = Pupil.new PUPIL_TESTKEY
+ @mentions = pupil.mentions
+ end
+
+ it "Array型を返すこと" do
+ @mentions.class.should == Array
+ end
+end