diff --git a/app/models/schedule.rb b/app/models/schedule.rb new file mode 100644 index 0000000000000000000000000000000000000000..63d287043b0a9add74669fd79a2075a07a99875d --- /dev/null +++ b/app/models/schedule.rb @@ -0,0 +1,2 @@ +class Schedule < ActiveRecord::Base +end diff --git a/db/migrate/001_create_schedules.rb b/db/migrate/001_create_schedules.rb new file mode 100644 index 0000000000000000000000000000000000000000..93fb6784c2aee9b69ae0b83f6e1a93225d4caeed --- /dev/null +++ b/db/migrate/001_create_schedules.rb @@ -0,0 +1,11 @@ +class CreateSchedules < ActiveRecord::Migration + def self.up + create_table :schedules do |t| + # t.column :name, :string + end + end + + def self.down + drop_table :schedules + end +end diff --git a/test/fixtures/schedules.yml b/test/fixtures/schedules.yml new file mode 100644 index 0000000000000000000000000000000000000000..8794d28ae419929e241d892341c7429b84e5c74e --- /dev/null +++ b/test/fixtures/schedules.yml @@ -0,0 +1,5 @@ +# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html +first: + id: 1 +another: + id: 2 diff --git a/test/unit/schedule_test.rb b/test/unit/schedule_test.rb new file mode 100644 index 0000000000000000000000000000000000000000..b826ce6ddd2f035c76c2cb8c5d5b1ead5f3fb261 --- /dev/null +++ b/test/unit/schedule_test.rb @@ -0,0 +1,10 @@ +require File.dirname(__FILE__) + '/../test_helper' + +class ScheduleTest < Test::Unit::TestCase + fixtures :schedules + + # Replace this with your real tests. + def test_truth + assert true + end +end