Sha256: f58c59fb00f1be8c2d5509b09d1ec78e528467891446cfdeb5d61fee8c0b05a8
Contents?: true
Size: 537 Bytes
Versions: 1
Compression:
Stored size: 537 Bytes
Contents
require "nwiki" require "test/unit" class GitAccessTest < Test::Unit::TestCase def setup @subject = ::Nwiki::Core::GitAccess.new("spec/examples/sample.git") end test "#title" do assert 'ヽ(´・肉・`)ノログ' == @subject.title end test "#subtitle" do assert "How do we fighting without fighting?" == @subject.subtitle end test '#author' do assert "niku" == @subject.author end test "#find_file" do assert "* b\n\n" == @subject.find_file { |path| path == '1/2/b.org' }.text end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nwiki-0.2.8 | test/nwiki/core/git_access_test.rb |