diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb new file mode 100644 index 0000000..1ad33d0 --- /dev/null +++ b/app/controllers/tasks_controller.rb @@ -0,0 +1,2 @@ +class TasksController < ApplicationController +end diff --git a/app/helpers/tasks_helper.rb b/app/helpers/tasks_helper.rb new file mode 100644 index 0000000..ce894d0 --- /dev/null +++ b/app/helpers/tasks_helper.rb @@ -0,0 +1,2 @@ +module TasksHelper +end diff --git a/app/models/task.rb b/app/models/task.rb new file mode 100644 index 0000000..935f76e --- /dev/null +++ b/app/models/task.rb @@ -0,0 +1,2 @@ +class Task < ActiveRecord::Base +end diff --git a/app/views/tasks/.gitignore b/app/views/tasks/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/db/migrate/20081012094223_create_tasks.rb b/db/migrate/20081012094223_create_tasks.rb new file mode 100644 index 0000000..02eacfd --- /dev/null +++ b/db/migrate/20081012094223_create_tasks.rb @@ -0,0 +1,12 @@ +class CreateTasks < ActiveRecord::Migration + def self.up + create_table :tasks do |t| + + t.timestamps + end + end + + def self.down + drop_table :tasks + end +end diff --git a/test/fixtures/tasks.yml b/test/fixtures/tasks.yml new file mode 100644 index 0000000..5bf0293 --- /dev/null +++ b/test/fixtures/tasks.yml @@ -0,0 +1,7 @@ +# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html + +# one: +# column: value +# +# two: +# column: value diff --git a/test/functional/tasks_controller_test.rb b/test/functional/tasks_controller_test.rb new file mode 100644 index 0000000..98263bd --- /dev/null +++ b/test/functional/tasks_controller_test.rb @@ -0,0 +1,8 @@ +require 'test_helper' + +class TasksControllerTest < ActionController::TestCase + # Replace this with your real tests. + def test_truth + assert true + end +end diff --git a/test/unit/task_test.rb b/test/unit/task_test.rb new file mode 100644 index 0000000..4cbdb33 --- /dev/null +++ b/test/unit/task_test.rb @@ -0,0 +1,8 @@ +require 'test_helper' + +class TaskTest < ActiveSupport::TestCase + # Replace this with your real tests. + def test_truth + assert true + end +end