Sha256: 593313d7c2f4ed850ade347904209a9b00b0f7ca3c8c201a7af1c42c9377c88f
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
require 'txt_file_mutator' require "test/unit" class TestFilterExec < Test::Unit::TestCase def setup @tfm = TextFileMutator @file = 'DATA.txt' puts @tfm.instance_methods end def teardown ## Nothing really end # include method def test_comment_line @tfm.comment_line @file, 'blip' end def test_comment_gem_config @tfm.comment_gem_config @file, 'hobo' end def test_remove_line @tfm.remove_line @file, 'remove me' end def test_insert_before @tfm.insert_before @file, 'before', "BEFORE" end def test_insert_after @tfm.insert_after @file, 'after', "AFTER" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
txt_file_mutator-0.1.0 | test/test_txt_file_mutator.rb |