i think the ci app_config has some setup i am unaware of, so this makes it not depend on that setting

This commit is contained in:
maxwell 2011-02-18 12:38:29 -08:00
parent 585ca4820b
commit a1fdd3cdf9

View file

@ -3,7 +3,7 @@ require 'spec_helper'
describe AdminsController do
render_views
before do
@user = alice
@user = Factory :user
sign_in :user, @user
end
@ -14,7 +14,7 @@ describe AdminsController do
context 'admin signed in' do
before do
AppConfig[:admins] = [alice.username]
AppConfig[:admins] = [@user.username]
end
describe '#user_search' do