diff --git a/app/models/evaluator.rb b/app/models/evaluator.rb new file mode 100644 index 0000000..5dd3105 --- /dev/null +++ b/app/models/evaluator.rb @@ -0,0 +1,2 @@ +class Evaluator < ActiveRecord::Base +end diff --git a/db/fixtures/evaluators.yml b/db/fixtures/evaluators.yml new file mode 100644 index 0000000..9c9172b --- /dev/null +++ b/db/fixtures/evaluators.yml @@ -0,0 +1,3 @@ +bas: + name: "Bas Wenneker" + email: "b.wenneker@gmail.com" \ No newline at end of file diff --git a/db/migrate/20100505125205_create_evaluators.rb b/db/migrate/20100505125205_create_evaluators.rb new file mode 100644 index 0000000..966ab0b --- /dev/null +++ b/db/migrate/20100505125205_create_evaluators.rb @@ -0,0 +1,14 @@ +class CreateEvaluators < ActiveRecord::Migration + def self.up + create_table :evaluators do |t| + t.string :name + t.string :email + + t.timestamps + end + end + + def self.down + drop_table :evaluators + end +end diff --git a/test/fixtures/evaluators.yml b/test/fixtures/evaluators.yml new file mode 100644 index 0000000..a874da4 --- /dev/null +++ b/test/fixtures/evaluators.yml @@ -0,0 +1,9 @@ +# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html + +one: + name: MyString + email: MyString + +two: + name: MyString + email: MyString diff --git a/test/unit/evaluator_test.rb b/test/unit/evaluator_test.rb new file mode 100644 index 0000000..c6e1453 --- /dev/null +++ b/test/unit/evaluator_test.rb @@ -0,0 +1,8 @@ +require 'test_helper' + +class EvaluatorTest < ActiveSupport::TestCase + # Replace this with your real tests. + test "the truth" do + assert true + end +end