Sha256: 6d56fefe9b66fe110093d6163d6aca1cbc3027bf098f3841ae983dc74b620e1b

Contents?: true

Size: 328 Bytes

Versions: 10

Compression:

Stored size: 328 Bytes

Contents

require "spec_helper"

module Source2MD
  describe do
    it "works" do
      actual = Element.new(TextHelper.indent(<<~EOS)).to_md
#+name: (name)
#+desc: (desc)
#+comment: (comment)
(code1)
#
(code2)
EOS
      actual.should == <<~EOS
### (name) ###

(desc)

```ruby
(code1)

(code2)
```

(comment)

      EOS
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
source2md-0.0.19 spec/formatter/type_method_spec.rb
source2md-0.0.18 spec/formatter/type_method_spec.rb
source2md-0.0.17 spec/formatter/type_method_spec.rb
source2md-0.0.16 spec/formatter/type_method_spec.rb
source2md-0.0.15 spec/formatter/type_method_spec.rb
source2md-0.0.14 spec/formatter/type_method_spec.rb
source2md-0.0.13 spec/formatter/type_method_spec.rb
source2md-0.0.12 spec/formatter/type_method_spec.rb
source2md-0.0.11 spec/formatter/type_method_spec.rb
source2md-0.0.10 spec/formatter/type_method_spec.rb