spec/gitmine_spec.rb in gitmine-0.1.2 vs spec/gitmine_spec.rb in gitmine-0.1.3
- old
+ new
@@ -23,10 +23,10 @@
Grit::Repo.stub!(:new) { repo }
end
describe "#commits" do
it "should return Gitmine commits" do
- gitmine.commits.first.should be_a Commit
+ gitmine.commits.first.should be_a Gitmine::Commit
end
it "should return commits for the current branch" do
repo.should_receive(:commits).with('wip')
gitmine.commits
end