Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMaxwell Salzberg <maxwell@joindiaspora.com>2011-07-14 01:18:34 +0400
committerRaphael Sofaer <raphael@joindiaspora.com>2011-07-22 01:32:10 +0400
commit757c9169fc7583134c02845f90ec9a475a2043fc (patch)
treec5a180873fb5c7beba5b6497c1f749d33c92b673 /spec
parent9ac88a8c393ced332c14bd2c15e81be6d4dbd917 (diff)
updated gemfile
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/admins_controller_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/controllers/admins_controller_spec.rb b/spec/controllers/admins_controller_spec.rb
index 5b744d9c5..6b30aa8bf 100644
--- a/spec/controllers/admins_controller_spec.rb
+++ b/spec/controllers/admins_controller_spec.rb
@@ -100,6 +100,11 @@ describe AdminsController do
AppConfig[:admins] = [@user.username]
end
+ it 'succeeds' do
+ get :admin_inviter, :identifier => 'bob@moms.com'
+ response.should be_ok
+ end
+
it 'invites a new user' do
Invitation.should_receive(:create_invitee).with(:service => 'email', :identifier => 'bob@moms.com')
get :admin_inviter, :identifier => 'bob@moms.com'