spec/lib/test_gitrepo.rb in treet-0.10.3 vs spec/lib/test_gitrepo.rb in treet-0.11.0
- old
+ new
@@ -183,11 +183,11 @@
end
end
describe "a tagged & patched repo" do
def self.makerepo
- @cache ||= begin
+ @repo ||= begin
r = make_gitrepo('two',
:author => {:name => 'Bob', :email => 'bob@example.com'},
:xrefkey => 'app1',
:xref => 'APP1_ID'
)
@@ -267,10 +267,10 @@
end
end
describe "a multiply-patched gitrepo" do
def self.makerepo
- @cache ||= begin
+ @repo ||= begin
r = make_gitrepo('two', :author => {:name => 'Bob', :email => 'bob@example.com'})
r.tag('app1')
r.tag('app2')
image1 = r.to_hash
r.patch([