search for: followed_id

Displaying 1 result from an estimated 1 matches for "followed_id".

Did you mean: followed_by
2012 Feb 18
0
Rails NameError : uninitialized constant RelationshipsController
...quot;POST ''create''" do before(:each) do @user = test_sign_in(Factory(:user)) @followed = Factory(:user, :email => Factory.next(:email)) end it "should create a relationship" do lambda do post :create, :relationship => { :followed_id => @followed } response.should be_redirect end.should change(Relationship, :count).by(1) end it "should create a relationship using Ajax" do lamda do xhr :post, :create, :relationship => { :followed_id => @followed } response.should be...