mod/settings/spec/set/right/comment_spec.rb in card-1.96.7 vs mod/settings/spec/set/right/comment_spec.rb in card-1.96.8
- old
+ new
@@ -29,10 +29,10 @@
context "comment addition" do
it "combines content after save" do
Card::Auth.as_bot do
Card.create name: "basicname+*self+*comment",
content: "[[Anyone Signed In]]"
- Card["basicname"].update_attributes! comment: " and more\n \nsome lines\n\n"
+ Card["basicname"].update! comment: " and more\n \nsome lines\n\n"
end
expect(Card["basicname"].content).to match(%r{\<p\>some lines\</p\>})
end
end
end