Sha256: 97a84e58c7a877089472d467da0832b2e3250ff0a6eef8a78e975a9fc469bce8

Contents?: true

Size: 381 Bytes

Versions: 12

Compression:

Stored size: 381 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe TiesController do
  render_views

  describe "when authenticated" do
    before do
      @user = Factory(:user)

      sign_in @user
    end

    it "should render new" do
      get :new, :tie => Factory.attributes_for(:friend, :sender => @user.actor)

      assert_response :success
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
social_stream-0.4.4 spec/controllers/ties_controller_spec.rb
social_stream-0.4.3 spec/controllers/ties_controller_spec.rb
social_stream-0.4.2 spec/controllers/ties_controller_spec.rb
social_stream-0.4.1 spec/controllers/ties_controller_spec.rb
social_stream-0.4.0 spec/controllers/ties_controller_spec.rb
social_stream-0.3.6 spec/controllers/ties_controller_spec.rb
social_stream-0.3.5 spec/controllers/ties_controller_spec.rb
social_stream-0.3.4 spec/controllers/ties_controller_spec.rb
social_stream-0.3.3 spec/controllers/ties_controller_spec.rb
social_stream-0.3.2 spec/controllers/ties_controller_spec.rb
social_stream-0.3.1 spec/controllers/ties_controller_spec.rb
social_stream-0.3.0 spec/controllers/ties_controller_spec.rb