#794: fix for specs
This commit is contained in:
parent
d0b288fe37
commit
04b71106ab
|
@ -322,7 +322,7 @@ describe Api::V1::RepositoriesController do
|
|||
|
||||
context 'for system user' do
|
||||
before(:each) do
|
||||
@user = FactoryGirl.create(:user, :uname => 'iso_worker_1')
|
||||
@user = FactoryGirl.create(:user, :role => 'system')
|
||||
http_login(@user)
|
||||
end
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require 'spec_helper'
|
|||
|
||||
describe KeyPair do
|
||||
before(:all) do
|
||||
stub_symlink_methods
|
||||
init_test_root
|
||||
stub_redis
|
||||
FactoryGirl.create(:key_pair)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue