Commit 2834da69 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Use add_master instead

parent 77961dac
...@@ -37,7 +37,7 @@ describe Files::DeleteService do ...@@ -37,7 +37,7 @@ describe Files::DeleteService do
end end
before do before do
project.team << [user, :master] project.add_master(user)
end end
describe "#execute" do describe "#execute" do
......
...@@ -36,7 +36,7 @@ describe Files::MultiService do ...@@ -36,7 +36,7 @@ describe Files::MultiService do
end end
before do before do
project.team << [user, :master] project.add_master(user)
end end
describe '#execute' do describe '#execute' do
......
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