Skip to content

Commit

Permalink
generated skeleton for tasks_controller and task model
Browse files Browse the repository at this point in the history
  • Loading branch information
nesquena committed Oct 12, 2008
1 parent 6b62af1 commit a268a8c
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/tasks_controller.rb
@@ -0,0 +1,2 @@
class TasksController < ApplicationController
end
2 changes: 2 additions & 0 deletions app/helpers/tasks_helper.rb
@@ -0,0 +1,2 @@
module TasksHelper
end
2 changes: 2 additions & 0 deletions app/models/task.rb
@@ -0,0 +1,2 @@
class Task < ActiveRecord::Base
end
Empty file added app/views/tasks/.gitignore
Empty file.
12 changes: 12 additions & 0 deletions 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
7 changes: 7 additions & 0 deletions 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
8 changes: 8 additions & 0 deletions 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
8 changes: 8 additions & 0 deletions 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

0 comments on commit a268a8c

Please sign in to comment.