mod/settings/spec/set/right/comment_spec.rb in card-1.19.6 vs mod/settings/spec/set/right/comment_spec.rb in card-1.20.0

- old
+ new

@@ -7,28 +7,28 @@ @rule = Card.new name: "A+*self+*comment", type_id: Card::PointerID, content: "[[Anyone Signed In]]" end - it "should have appender immediately" do + it "has appender immediately" do expect(Card["a"].ok?(:comment)).not_to be_truthy Card::Auth.as_bot do @rule.save! end expect(Card["a"].ok?(:comment)).to be_truthy end - it "should have appender immediately" do + it "has appender immediately" do Card::Auth.as_bot do expect(Card["a"].ok?(:comment)).not_to be_truthy @rule.save! expect(Card["a"].ok?(:comment)).to be_truthy end end end context "comment addition" do - it "should combine content after save" do + it "combines content after save" do Card::Auth.as_bot do Card.create name: "basicname+*self+*comment", content: "[[Anyone Signed In]]" @c = Card.fetch "basicname" @c.comment = " and more\n \nsome lines\n\n"