Sha256: 2108da229b41ee7b17c7b039dcf7f2b07d14f28e0144dcbbc33cca08c45dc26c
Contents?: true
Size: 547 Bytes
Versions: 17
Compression:
Stored size: 547 Bytes
Contents
# encoding: utf-8 class Nanoc::Extra::VCSTest < MiniTest::Unit::TestCase include Nanoc::TestHelpers 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
17 entries across 17 versions & 1 rubygems