Skip to content
Extraits de code Groupes Projets
Valider 757c9169 rédigé par Maxwell Salzberg's avatar Maxwell Salzberg Validation de Raphael Sofaer
Parcourir les fichiers

updated gemfile

parent 9ac88a8c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -14,6 +14,7 @@ class VannaController < Vanna::Base ...@@ -14,6 +14,7 @@ class VannaController < Vanna::Base
include ActionController::Flash include ActionController::Flash
default_url_options[:host] = "localhost" default_url_options[:host] = "localhost"
include ActionController::MobileFu::InstanceMethods include ActionController::MobileFu::InstanceMethods
include ActionController::RackDelegation
helper_method :is_mobile_device? helper_method :is_mobile_device?
protect_from_forgery :except => :receive protect_from_forgery :except => :receive
......
...@@ -32,9 +32,7 @@ ...@@ -32,9 +32,7 @@
#new_status_message_pane #new_status_message_pane
.span-15.last .span-15.last
#facebox_header %h4
%h4 =t('bookmarklet.post_something')
=t('bookmarklet.post_something')
= render :partial => 'shared/publisher', :locals => { :aspect => :profile, :aspects_with_person => @aspects, :aspect_ids => @aspect_ids} = render :partial => 'shared/publisher', :locals => { :aspect => :profile, :aspects_with_person => @aspects, :aspect_ids => @aspect_ids}
...@@ -100,6 +100,11 @@ describe AdminsController do ...@@ -100,6 +100,11 @@ describe AdminsController do
AppConfig[:admins] = [@user.username] AppConfig[:admins] = [@user.username]
end end
it 'succeeds' do
get :admin_inviter, :identifier => 'bob@moms.com'
response.should be_ok
end
it 'invites a new user' do it 'invites a new user' do
Invitation.should_receive(:create_invitee).with(:service => 'email', :identifier => 'bob@moms.com') Invitation.should_receive(:create_invitee).with(:service => 'email', :identifier => 'bob@moms.com')
get :admin_inviter, :identifier => 'bob@moms.com' get :admin_inviter, :identifier => 'bob@moms.com'
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter