mod/follow/spec/set/right/followers_spec.rb in card-1.99.1 vs mod/follow/spec/set/right/followers_spec.rb in card-1.99.2

- old
+ new

@@ -80,11 +80,11 @@ end end context "when following content I created" do it "contains creator" do - Card::Auth.current_id = Card["Big Brother"].id + Card::Auth.signin "Big Brother" card = Card.create! name: "created by Follower" expect(followers_of(card)).to include("Big Brother") end end @@ -93,10 +93,10 @@ Card::Auth.as_bot do Card["Sara"].follow "*all", "*edited" end card = Card.create! name: "edited by Sara" - Card::Auth.current_id = Card["Sara"].id + Card::Auth.signin "Sara" card.update! content: "some content" expect(followers_of(card)).to include("Sara") end end