Commit 8918d11379cc29d679de72f230193cd35d722c3e

Authored by Riyad Preukschas
1 parent a5243178

Fix project hook spec

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/models/project_hooks_spec.rb
@@ -108,7 +108,7 @@ describe Project, "Hooks" do @@ -108,7 +108,7 @@ describe Project, "Hooks" do
108 it { should include(id: @commit.id) } 108 it { should include(id: @commit.id) }
109 it { should include(message: @commit.safe_message) } 109 it { should include(message: @commit.safe_message) }
110 it { should include(timestamp: @commit.date.xmlschema) } 110 it { should include(timestamp: @commit.date.xmlschema) }
111 - it { should include(url: "#{Gitlab.config.url}/#{project.code}/commits/#{@commit.id}") } 111 + it { should include(url: "#{Gitlab.config.url}/#{project.code}/commit/#{@commit.id}") }
112 112
113 context "with a author" do 113 context "with a author" do
114 subject { @data[:commits].first[:author] } 114 subject { @data[:commits].first[:author] }