Sha256: b0a6eb74f78845ce54bfe01e7a400895f4e3e2a65e9f20cf7a73b36d88131db6
Contents?: true
Size: 674 Bytes
Versions: 25
Compression:
Stored size: 674 Bytes
Contents
require File.join(File.dirname(__FILE__), 'test_helper') class BlobTest < Test::Unit::TestCase include Octopi def setup fake_everything end context Blob do should "find a blob" do blob = Blob.find(:user => "fcoury", :repo => "octopi", :sha => "f6609209c3ac0badd004512d318bfaa508ea10ae") assert_not_nil blob assert blob.is_a?(String) end # Can't grab real data for this yet, Github is throwing a 500 on this request. # should "find a file for a blob" do # assert_not_nil Blob.find(:user => "fcoury", :repo => "octopi", :sha => "f6609209c3ac0badd004512d318bfaa508ea10ae", :path => "lib/octopi.rb") # end end end
Version data entries
25 entries across 25 versions & 4 rubygems