Commit ff5176d4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix git_push service specs

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent bd72c74d
require 'spec_helper' require 'spec_helper'
describe GitPushService do describe GitPushService do
include RepoHelpers
let (:user) { create :user } let (:user) { create :user }
let (:project) { create :project } let (:project) { create :project }
let (:service) { GitPushService.new } let (:service) { GitPushService.new }
before do before do
@blankrev = '0000000000000000000000000000000000000000' @blankrev = '0000000000000000000000000000000000000000'
@oldrev = 'b98a310def241a6fd9c9a9a3e7934c48e498fe81' @oldrev = sample_commit.parent_id
@newrev = 'b19a04f53caeebf4fe5ec2327cb83e9253dc91bb' @newrev = sample_commit.id
@ref = 'refs/heads/master' @ref = 'refs/heads/master'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment