Sha256: e01762219fb7463982a4f60afa0d907ea38d1a18db48d9565b0bc574b43d1116

Contents?: true

Size: 494 Bytes

Versions: 2

Compression:

Stored size: 494 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pupil-0.0.4 spec/pupil_spec.rb
pupil-0.0.3 spec/pupil_spec.rb