Sha256: 115ac142415e8865d34fb745b7fecc7dc2b0cc072d7c66f82601d9a3a076f564
Contents?: true
Size: 508 Bytes
Versions: 15
Compression:
Stored size: 508 Bytes
Contents
# encoding: utf-8 class Nanoc::Extra::VCSTest < Nanoc::TestCase def test_named assert_nil(Nanoc::Extra::VCS.named(:lkasjdlkfjlkasdfkj)) refute_nil(Nanoc::Extra::VCS.named(:svn)) refute_nil(Nanoc::Extra::VCS.named(:subversion)) end def test_not_implemented vcs = Nanoc::Extra::VCS.new assert_raises(NotImplementedError) { vcs.add('x') } assert_raises(NotImplementedError) { vcs.remove('x') } assert_raises(NotImplementedError) { vcs.move('x', 'y') } end end
Version data entries
15 entries across 15 versions & 1 rubygems