Sha256: b32744a43a923154393443fcd6e550f765af42d8df0a6f80c8d4c9ab931c7c4c
Contents?: true
Size: 512 Bytes
Versions: 3
Compression:
Stored size: 512 Bytes
Contents
require 'test_helper' class Giggly::FriendTest < Test::Unit::TestCase context "A Giggly::Friend instance" do setup do setup_giggly_rest FakeSocialize.setup_response(:friends_info, :success) @friends = @giggly.friends_info @friend = @friends.first end # this is overtesting should "inherit from user" do @friend.kind_of? Giggly::Friend @friend.kind_of? Giggly::User @friend.class.superclass.should == Giggly::User end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
giggly-0.1.2 | test/giggly/friend_test.rb |
giggly-0.1.1 | test/giggly/friend_test.rb |
giggly-0.1.0 | test/giggly/friend_test.rb |