Commit 8918d113 authored by Riyad Preukschas's avatar Riyad Preukschas

Fix project hook spec

parent a5243178
...@@ -108,7 +108,7 @@ describe Project, "Hooks" do ...@@ -108,7 +108,7 @@ describe Project, "Hooks" do
it { should include(id: @commit.id) } it { should include(id: @commit.id) }
it { should include(message: @commit.safe_message) } it { should include(message: @commit.safe_message) }
it { should include(timestamp: @commit.date.xmlschema) } 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 context "with a author" do
subject { @data[:commits].first[:author] } subject { @data[:commits].first[:author] }
......
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