Skip to content
Browse files

* Changing CommitLibrarian to MasterCommitLibrarian

  • Loading branch information...
1 parent cdb539b commit 9f34f9cbdcb5a800ec76785099ea6256d0b4172b Scott Taylor committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/git_revision_number.rb
  2. +2 −2 spec/git_revision_number_spec.rb
View
2 lib/git_revision_number.rb
@@ -9,7 +9,7 @@ def head
private
def librarian
- @librarian = GitRevisionNumbers::CommitLibrarian.new
+ @librarian = GitRevisionNumbers::MasterCommitLibrarian.new
end
end
end
View
4 spec/git_revision_number_spec.rb
@@ -3,8 +3,8 @@
describe GitRevisionNumber do
describe "head" do
before :each do
- @librarian = mock(GitRevisionNumbers::CommitLibrarian)
- GitRevisionNumbers::CommitLibrarian.stub!(:new).and_return @librarian
+ @librarian = mock(GitRevisionNumbers::MasterCommitLibrarian)
+ GitRevisionNumbers::MasterCommitLibrarian.stub!(:new).and_return @librarian
end
it 'should return the revision numbers' do

0 comments on commit 9f34f9c

Please sign in to comment.
Something went wrong with that request. Please try again.