Sha256: f3807dc3a261fe5227d52299cca473989320a6f53a9ff82a3f964ac542b55099
Contents?: true
Size: 426 Bytes
Versions: 3
Compression:
Stored size: 426 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe Gitter::Base do before(:each) do @commits = %w{ ruby is fucking awesome word to your mother }.map { |text| Digest::SHA1.hexdigest(text) } @repo = mock(Gitter::Base) @repo.stub!(:commits).and_return(@commits) end it "should return an array of commit SHAs" do @repo.commits.should be_instance_of(Array) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
git-trip-0.0.3 | spec/git-trip/gitter/base_spec.rb |
git-trip-0.0.4 | spec/git-trip/gitter/base_spec.rb |
git-trip-0.0.5 | spec/git-trip/gitter/base_spec.rb |