spec/models/tie_spec.rb in social_stream-0.4.5 vs spec/models/tie_spec.rb in social_stream-0.4.6
- old
+ new
@@ -13,22 +13,9 @@
:receiver_id => @receiver.actor_id,
:relation_name => relation.name
tie.should_not be_new_record
end
-
- it "should be created from relation_name and permissions" do
- pending "Redesign forms"
-
- tie = Tie.create :sender_id => @sender.actor_id,
- :receiver_id => @receiver.actor_id,
- :relation_name => "new relation",
- :relation_permissions => [ Permission.first.id, Permission.last.id ]
-
- puts tie.errors
- tie.should_not be_new_record
- tie.relation.should_not be_new_record
- end
end
describe "follower_count" do
it "should be incremented" do
sender, receiver = 2.times.map{ Factory(:user) }