updated gemfile
This commit is contained in:
parent
9ac88a8c39
commit
757c9169fc
3 changed files with 8 additions and 4 deletions
|
|
@ -14,6 +14,7 @@ class VannaController < Vanna::Base
|
|||
include ActionController::Flash
|
||||
default_url_options[:host] = "localhost"
|
||||
include ActionController::MobileFu::InstanceMethods
|
||||
include ActionController::RackDelegation
|
||||
helper_method :is_mobile_device?
|
||||
|
||||
protect_from_forgery :except => :receive
|
||||
|
|
|
|||
|
|
@ -32,9 +32,7 @@
|
|||
|
||||
#new_status_message_pane
|
||||
.span-15.last
|
||||
#facebox_header
|
||||
%h4
|
||||
=t('bookmarklet.post_something')
|
||||
|
||||
%h4
|
||||
=t('bookmarklet.post_something')
|
||||
= render :partial => 'shared/publisher', :locals => { :aspect => :profile, :aspects_with_person => @aspects, :aspect_ids => @aspect_ids}
|
||||
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue