fixed specs, took out that nasty raise.
This commit is contained in:
parent
c65c62906c
commit
64f7a20ff4
2 changed files with 1 additions and 2 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue