#794: fix for specs

This commit is contained in:
Vokhmin Alexey V 2013-01-18 16:57:45 +04:00
parent d0b288fe37
commit 04b71106ab
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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