1
0

Added measurement, readout and readout_value models

commands:
rails generate redmine_plugin_model body_tracking measurement
name:string hidden:boolean source:references
rails generate redmine_plugin_model body_tracking readout
measurement:references quantity:references unit:references
rails generate redmine_plugin_model body_tracking readout_value
readout:references value:decimal taken_at:timestamp
This commit is contained in:
cryptogopher
2019-11-15 21:52:12 +01:00
parent b617043dd5
commit 687269062c
9 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
require File.expand_path('../../test_helper', __FILE__)
class MeasurementTest < ActiveSupport::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end

View File

@@ -0,0 +1,9 @@
require File.expand_path('../../test_helper', __FILE__)
class ReadoutTest < ActiveSupport::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end

View File

@@ -0,0 +1,9 @@
require File.expand_path('../../test_helper', __FILE__)
class ReadoutValueTest < ActiveSupport::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end