diff options
author | Mark J. Titorenko <mark.titorenko@alces-software.com> | 2012-01-21 19:57:23 +0000 |
---|---|---|
committer | Mark J. Titorenko <mark.titorenko@alces-software.com> | 2012-01-21 19:57:23 +0000 |
commit | 5e53ab81a37c8c712d693f8d8dd91331e1b4bc65 (patch) | |
tree | ea9321f51ed8daf5f2d88068751c10928892c4b9 /Rakefile | |
parent | e53e015ba0c969585e7dea6127d5eee3a416a9f6 (diff) | |
download | net-dhcp-ruby-5e53ab81a37c8c712d693f8d8dd91331e1b4bc65.tar.gz |
Replace incorrect equality check with assignment in Message#from_udp_payload to correct behaviour when an unrecognised option or message is encountered
Allow callers to disable the debug output emitted in Message#from_udp_payload for unrecognised options or messages
Added rake test task
Correct test_from_udp_payload test assertion
Default to 00:00:00:00:00:00 in Message#initialize if local MAC address can't be read
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -40,3 +40,10 @@ Rake::RDocTask.new do |rdoc| rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end + +require 'rake/testtask' +Rake::TestTask.new do |t| + t.libs << "test" + t.test_files = FileList['test/test*.rb'] + t.verbose = true +end |