diff options
author | danielgrippi <danielgrippi@gmail.com> | 2011-07-13 02:04:15 +0400 |
---|---|---|
committer | Raphael Sofaer <raphael@joindiaspora.com> | 2011-07-22 05:22:17 +0400 |
commit | d1bbbdbc4c2c91af69fa841572d9116d93f1ff97 (patch) | |
tree | 77b4f1a58843c5684c7ea0fb00cdcb3d81281529 /spec | |
parent | ce9477976603cdb000d6e7095b13dc548235f99c (diff) |
fixed all specs; rebased.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/reshares_controller_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/controllers/reshares_controller_spec.rb b/spec/controllers/reshares_controller_spec.rb index 9a780a905..23508cf86 100644 --- a/spec/controllers/reshares_controller_spec.rb +++ b/spec/controllers/reshares_controller_spec.rb @@ -2,16 +2,13 @@ require 'spec_helper' describe ResharesController do describe '#create' do - it 'requires authentication' do post :create, :format => :js response.should_not be_success end context 'with an authenticated user' do - before do - sign_in :user, bob @post_id = Factory(:status_message, :public => true).id @controller.stub(:current_user).and_return(bob) @@ -19,7 +16,6 @@ describe ResharesController do it 'succeeds' do post :create, :format => :js, :root_id => @post_id - puts response.code response.should be_success end |