Sha256: 9d1bdb5287540622e75a661ebe9ffaefe6c69316ec88617fa85a8ce83ecd4bdb

Contents?: true

Size: 344 Bytes

Versions: 8

Compression:

Stored size: 344 Bytes

Contents

# -*- encoding : utf-8 -*-

describe Card::Set::Right::Comment do
  context "comment addition" do
    it "combines content after save" do
      Card::Auth.as_bot do
        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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
card-1.100.0 mod/settings/spec/set/right/comment_spec.rb
card-1.99.6 mod/settings/spec/set/right/comment_spec.rb
card-1.99.5 mod/settings/spec/set/right/comment_spec.rb
card-1.99.4 mod/settings/spec/set/right/comment_spec.rb
card-1.99.3 mod/settings/spec/set/right/comment_spec.rb
card-1.99.2 mod/settings/spec/set/right/comment_spec.rb
card-1.99.1 mod/settings/spec/set/right/comment_spec.rb
card-1.99.0 mod/settings/spec/set/right/comment_spec.rb