コード例 #1
0
        public void Rich_text_with_macros()
        {
            _builder
            .Description(new CodeMacro {
                Code = "some code", Title = "some title"
            })
            .Description(new QuoteMacro {
                Quote = "some quote"
            });

            var remoteIssue = _builder.CreateRemoteIssue();

            remoteIssue.description.ShouldContain(@"{code:title=some title}some code{code}");
            remoteIssue.description.ShouldContain(@"{quote}some quote{quote}");
        }