Add placeholder test files

This commit is contained in:
hartator 2015-07-26 00:02:35 -05:00
parent 4a6fef3c8c
commit 1386d56316
3 changed files with 17 additions and 1 deletions

8
Rakefile Normal file
View File

@ -0,0 +1,8 @@
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << 'test'
end
desc "Run tests"
task :default => :test

View File

@ -1,5 +1,5 @@
class WaybackMachineDownloader class WaybackMachineDownloader
def self.hi name def self.hi name
puts "Hello world! #{name}" "Hello world! #{name}"
end end
end end

View File

@ -0,0 +1,8 @@
require 'minitest/autorun'
require 'wayback_machine_downloader'
class WaybackMachineDownloaderTest < Minitest::Test
def test_english_hello
assert_equal "Hello world! John", WaybackMachineDownloader.hi("John")
end
end