fixed specs, took out that nasty raise.

This commit is contained in:
danielvincent 2010-11-27 16:06:05 -05:00
parent c65c62906c
commit 64f7a20ff4
2 changed files with 1 additions and 2 deletions

View file

@ -98,7 +98,6 @@ class EMWebfinger
c.call(person)
rescue Exception => e
Rails.logger.info("event=EMWebfinger status=error_on_callback error='#{e.inspect}'")
raise e
end
}
Rails.logger.info("event=EMWebfinger status=complete target=#{@account}")

View file

@ -19,7 +19,7 @@ describe StatusMessagesController do
sign_in :user, user
@controller.stub!(:current_user).and_return(user)
EM.stub!(:next_tick).with(&block).and_return{|x| x.call}
EM.stub!(:next_tick).and_yield(:block)
end
describe '#show' do