Fix project hook spec
This commit is contained in:
parent
a5243178ed
commit
8918d11379
|
@ -108,7 +108,7 @@ describe Project, "Hooks" do
|
|||
it { should include(id: @commit.id) }
|
||||
it { should include(message: @commit.safe_message) }
|
||||
it { should include(timestamp: @commit.date.xmlschema) }
|
||||
it { should include(url: "#{Gitlab.config.url}/#{project.code}/commits/#{@commit.id}") }
|
||||
it { should include(url: "#{Gitlab.config.url}/#{project.code}/commit/#{@commit.id}") }
|
||||
|
||||
context "with a author" do
|
||||
subject { @data[:commits].first[:author] }
|
||||
|
|
Loading…
Reference in New Issue