rename job steps to job tasks. refs #1416
authorTom Clegg <tom@clinicalfuture.com>
Tue, 19 Mar 2013 20:30:10 +0000 (13:30 -0700)
committerTom Clegg <tom@clinicalfuture.com>
Tue, 19 Mar 2013 20:30:10 +0000 (13:30 -0700)
14 files changed:
app/assets/javascripts/job_tasks.js.coffee [moved from app/assets/javascripts/job_steps.js.coffee with 100% similarity]
app/assets/stylesheets/job_tasks.css.scss [moved from app/assets/stylesheets/job_steps.css.scss with 64% similarity]
app/controllers/job_steps_controller.rb [deleted file]
app/controllers/job_tasks_controller.rb [new file with mode: 0644]
app/helpers/job_steps_helper.rb [deleted file]
app/helpers/job_tasks_helper.rb [new file with mode: 0644]
app/models/job_step.rb [deleted file]
app/models/job_task.rb [new file with mode: 0644]
config/routes.rb
test/fixtures/job_tasks.yml [moved from test/fixtures/job_steps.yml with 100% similarity]
test/functional/job_tasks_controller_test.rb [moved from test/functional/job_steps_controller_test.rb with 57% similarity]
test/unit/helpers/job_steps_helper_test.rb [deleted file]
test/unit/helpers/job_tasks_helper_test.rb [new file with mode: 0644]
test/unit/job_task_test.rb [moved from test/unit/job_step_test.rb with 63% similarity]

similarity index 64%
rename from app/assets/stylesheets/job_steps.css.scss
rename to app/assets/stylesheets/job_tasks.css.scss
index 9c2639b7ea9acd6f90e3cc4fc27ecb418132a7df..ab340e918b69ad22e78e10dee07bb7b2a49c68f8 100644 (file)
@@ -1,3 +1,3 @@
-// Place all the styles related to the JobSteps controller here.
+// Place all the styles related to the JobTasks controller here.
 // They will automatically be included in application.css.
 // You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/app/controllers/job_steps_controller.rb b/app/controllers/job_steps_controller.rb
deleted file mode 100644 (file)
index ce5a43c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-class JobStepsController < ApplicationController
-end
diff --git a/app/controllers/job_tasks_controller.rb b/app/controllers/job_tasks_controller.rb
new file mode 100644 (file)
index 0000000..5e8662b
--- /dev/null
@@ -0,0 +1,2 @@
+class JobTasksController < ApplicationController
+end
diff --git a/app/helpers/job_steps_helper.rb b/app/helpers/job_steps_helper.rb
deleted file mode 100644 (file)
index 47ff614..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-module JobStepsHelper
-end
diff --git a/app/helpers/job_tasks_helper.rb b/app/helpers/job_tasks_helper.rb
new file mode 100644 (file)
index 0000000..b08a1ae
--- /dev/null
@@ -0,0 +1,2 @@
+module JobTasksHelper
+end
diff --git a/app/models/job_step.rb b/app/models/job_step.rb
deleted file mode 100644 (file)
index 8cdbed1..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-class JobStep < OrvosBase
-end
diff --git a/app/models/job_task.rb b/app/models/job_task.rb
new file mode 100644 (file)
index 0000000..9d147b1
--- /dev/null
@@ -0,0 +1,2 @@
+class JobTask < OrvosBase
+end
index 5002398306de3fbe23e0478f4a78343286107901..b927bd88d72fd5c0ccad69e232737f1145cef3cb 100644 (file)
@@ -1,5 +1,5 @@
 Vcffarm::Application.routes.draw do
-  resources :job_steps
+  resources :job_tasks
 
 
   resources :jobs
similarity index 57%
rename from test/functional/job_steps_controller_test.rb
rename to test/functional/job_tasks_controller_test.rb
index 5a9198bf56130e3431071abe0d92a0642e1222aa..593b09d5c804a8c032a66c5ccd70a1ce1139d8e0 100644 (file)
@@ -1,6 +1,6 @@
 require 'test_helper'
 
-class JobStepsControllerTest < ActionController::TestCase
+class JobTasksControllerTest < ActionController::TestCase
   # test "the truth" do
   #   assert true
   # end
diff --git a/test/unit/helpers/job_steps_helper_test.rb b/test/unit/helpers/job_steps_helper_test.rb
deleted file mode 100644 (file)
index 8ba4f82..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class JobStepsHelperTest < ActionView::TestCase
-end
diff --git a/test/unit/helpers/job_tasks_helper_test.rb b/test/unit/helpers/job_tasks_helper_test.rb
new file mode 100644 (file)
index 0000000..f53621c
--- /dev/null
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class JobTasksHelperTest < ActionView::TestCase
+end
similarity index 63%
rename from test/unit/job_step_test.rb
rename to test/unit/job_task_test.rb
index c87035abf0513e095f5e7030fd226696e05d0190..3c7c1e7a6f62417709ba35fc0be0e5a672ccafab 100644 (file)
@@ -1,6 +1,6 @@
 require 'test_helper'
 
-class JobStepTest < ActiveSupport::TestCase
+class JobTaskTest < ActiveSupport::TestCase
   # test "the truth" do
   #   assert true
   # end