spec/pupil_spec.rb in pupil-0.6.3 vs spec/pupil_spec.rb in pupil-0.7

- old
+ new

@@ -52,23 +52,23 @@ end describe Pupil, "が #user_timeline を呼ぶ時は" do before do pupil = Pupil.new PUPIL_TESTKEY - @user_timeline = pupil.user_timeline pupil.profile.screen_name + @user_timeline = pupil.user_timeline pupil.screen_name end it "Array型を返すこと" do @user_timeline.class.should == Array end end describe Pupil, "が #friendship? を呼ぶ時は" do before do pupil = Pupil.new PUPIL_TESTKEY - @nonfriendship = pupil.friendship? pupil.profile.screen_name, KNOWN_NONFOLLOWED_USER - @friendship = pupil.friendship? pupil.profile.screen_name, KNOWN_USER + @nonfriendship = pupil.friendship? pupil.screen_name, KNOWN_NONFOLLOWED_USER + @friendship = pupil.friendship? pupil.screen_name, KNOWN_USER end it "フォロー関係に無い場合はFalseClass型を返すこと" do @nonfriendship.class.should == FalseClass end @@ -90,10 +90,10 @@ end describe Pupil, "が #search を呼ぶ時は" do before do pupil = Pupil.new PUPIL_TESTKEY - @search = pupil.search("Twitter", :rpp => 1) + @search = pupil.search("Twitter", :count => 1) end it "Array型を返すこと" do @search.class.should == Array end \ No newline at end of file