Sha256: 9dc72d59fa6631f4dee6cd61605304a70a920468e4608e3b8994c28d9b9fb705

Contents?: true

Size: 338 Bytes

Versions: 14

Compression:

Stored size: 338 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe TweetStream::Status do
  it 'should modify the :user key into a TweetStream::User object' do
    @status = TweetStream::Status.new(:user => {:screen_name => 'bob'})
    @status.user.is_a?(TweetStream::User).should be_true
    @status.user.screen_name.should == 'bob'
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
intridea-tweetstream-0.1.1 spec/tweetstream/status_spec.rb
intridea-tweetstream-0.1.3 spec/tweetstream/status_spec.rb
intridea-tweetstream-0.1.4 spec/tweetstream/status_spec.rb
intridea-tweetstream-0.1.5 spec/tweetstream/status_spec.rb
tweetstream-0.3.0 spec/tweetstream/status_spec.rb
tweetstream-0.1.9 spec/tweetstream/status_spec.rb
tweetstream-0.1.8 spec/tweetstream/status_spec.rb
tweetstream-0.1.7 spec/tweetstream/status_spec.rb
tweetstream-0.1.5 spec/tweetstream/status_spec.rb
tweetstream-0.1.4 spec/tweetstream/status_spec.rb
tweetstream-0.1.3 spec/tweetstream/status_spec.rb
tweetstream-0.1.2 spec/tweetstream/status_spec.rb
tweetstream-0.1.1 spec/tweetstream/status_spec.rb
tweetstream-0.1.0 spec/tweetstream/status_spec.rb