Skip to content

Commit

Permalink
Setup code.
Browse files Browse the repository at this point in the history
  • Loading branch information
macournoyer committed May 20, 2011
0 parents commit ddc9704
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
t.libs << '.'
t.libs << 'tests'
t.pattern = 'tests/**/*_test.rb'
t.verbose = true
end

task :default => :test
Binary file added db/app.db
Binary file not shown.
10 changes: 10 additions & 0 deletions db/initial_data.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
create table users (
id int,
name varchar(30)
);

insert into users values (1, "Marc");
insert into users values (2, "Greg");
insert into users values (3, "Dan");
insert into users values (4, "Dave");
insert into users values (5, "Bob");
3 changes: 3 additions & 0 deletions tests/test_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require "test/unit"

$:.unshift File.expand_path("../..", __FILE__)

0 comments on commit ddc9704

Please sign in to comment.