diff options
| author | Luke Kanies <luke@madstop.com> | 2005-04-18 15:27:37 +0000 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2005-04-18 15:27:37 +0000 |
| commit | 98374bc979a6135d2becad0a3da581d411b72502 (patch) | |
| tree | 5ce1976c26417d733001d5d0e294c8102bd822f7 /test | |
| parent | 8ab03d0eb669873c90bcb83bd79325fd56863b4a (diff) | |
| download | puppet-98374bc979a6135d2becad0a3da581d411b72502.tar.gz puppet-98374bc979a6135d2becad0a3da581d411b72502.tar.xz puppet-98374bc979a6135d2becad0a3da581d411b72502.zip | |
renaming oparse to filetype
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@171 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
| -rw-r--r-- | test/other/tc_oparse.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/other/tc_oparse.rb b/test/other/tc_oparse.rb index fbf64a85e..b31a42955 100644 --- a/test/other/tc_oparse.rb +++ b/test/other/tc_oparse.rb @@ -5,19 +5,19 @@ if __FILE__ == $0 end require 'blink' -require 'blink/oparse' +require 'blink/types/filetype' require 'test/unit' # $Id$ -class TestOParse < Test::Unit::TestCase +class TestFileType < Test::Unit::TestCase def setup Blink[:debug] = 1 - @passwdtype = Blink::OParse["passwd"] + @passwdtype = Blink::FileType["passwd"] if @passwdtype.nil? assert_nothing_raised() { - @passwdtype = Blink::OParse.newtype( + @passwdtype = Blink::FileType.newtype( :name => "passwd", :recordsplit => ":", :fields => %w{name password uid gid gcos home shell}, @@ -26,10 +26,10 @@ class TestOParse < Test::Unit::TestCase } end - @passwdtype = Blink::OParse["passwd"] + @passwdtype = Blink::FileType["passwd"] if @passwdtype.nil? assert_nothing_raised() { - @passwdtype = Blink::OParse.newtype( + @passwdtype = Blink::FileType.newtype( :name => "passwd", :recordsplit => ":", :fields => %w{name password uid gid gcos home shell}, |
