make spec pending rather than commented out
This commit is contained in:
parent
cbbaa2f80d
commit
3d275868ce
1 changed files with 20 additions and 19 deletions
|
|
@ -1,24 +1,25 @@
|
||||||
# require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
# describe 'dispatching' do
|
describe 'dispatching' do
|
||||||
# before do
|
before do
|
||||||
# @luke, @leia, @raph = set_up_friends
|
pending "TEST POLUTION HERE :("
|
||||||
# end
|
@luke, @leia, @raph = set_up_friends
|
||||||
|
end
|
||||||
|
|
||||||
# context "lukes' comment on luke's public post gets retracted" do
|
context "lukes' comment on luke's public post gets retracted" do
|
||||||
# it 'should not trigger a public dispatch' do
|
it 'should not trigger a public dispatch' do
|
||||||
# #luke has a public post and comments on it
|
#luke has a public post and comments on it
|
||||||
# p = Factory(:status_message, :public => true, :author => @luke.person)
|
p = Factory(:status_message, :public => true, :author => @luke.person)
|
||||||
# c = @luke.comment("awesomesauseum", :post => p)
|
c = @luke.comment("awesomesauseum", :post => p)
|
||||||
|
|
||||||
|
|
||||||
# Postzord::Dispatcher::Public.should_not_receive(:new)
|
Postzord::Dispatcher::Public.should_not_receive(:new)
|
||||||
# Postzord::Dispatcher::Private.should_receive(:new).and_return(stub(:post => true))
|
Postzord::Dispatcher::Private.should_receive(:new).and_return(stub(:post => true))
|
||||||
# #luke now retracts his comment
|
#luke now retracts his comment
|
||||||
# fantasy_resque do
|
fantasy_resque do
|
||||||
# @luke.retract(c)
|
@luke.retract(c)
|
||||||
# end
|
end
|
||||||
# end
|
end
|
||||||
# end
|
end
|
||||||
|
|
||||||
# end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue