Commit 039a4ba5 authored by Shinya Maeda's avatar Shinya Maeda

Use project.add_developer insetad of <<

parent fa2b58ec
...@@ -12,7 +12,7 @@ describe Projects::BuildsController do ...@@ -12,7 +12,7 @@ describe Projects::BuildsController do
context 'when user is logged in as developer' do context 'when user is logged in as developer' do
before do before do
project.team << [user, :developer] project.add_developer(user)
sign_in(user) sign_in(user)
get_trace get_trace
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