Sha256: bbc9943f3408578d046b8a383d0bb50013609e497b2218beddae8ac38330bc7c
Contents?: true
Size: 714 Bytes
Versions: 2
Compression:
Stored size: 714 Bytes
Contents
# -*- coding: utf-8 -*- ### WARNING ### # pupil_spec require PUPIL_TESTKEY in spec_testkey.rb # You should create file spec_testkey.rb into /spec to define PUPIL_TESTKEY with Pupil key. require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Pupil, "が #home_timeline を呼ぶ時は" do before do pupil = Pupil.new PUPIL_TESTKEY @home_timeline = pupil.home_timeline end 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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pupil-0.0.6 | spec/pupil_spec.rb |
pupil-0.0.5 | spec/pupil_spec.rb |