mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 22:21:11 +00:00
Ran migrations, migrate, prepare the test db on travis, use rspec
This commit is contained in:
parent
03d42cfaad
commit
25f24c1410
2 changed files with 10 additions and 5 deletions
|
|
@ -8,8 +8,12 @@ notifications:
|
|||
email:
|
||||
on_success: change
|
||||
on_failure: change
|
||||
before_install:
|
||||
script:
|
||||
- "cp config/database.yml.example config/database.yml"
|
||||
- "cp config/config.yml.example config/config.yml"
|
||||
- RAILS_ENV=test bundle exec rake db:migrate --trace
|
||||
- bundle exec rake db:test:prepare
|
||||
- bundle exec rake spec
|
||||
before_install:
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20140319143547) do
|
||||
ActiveRecord::Schema.define(:version => 20140401094729) do
|
||||
|
||||
create_table "answers", :force => true do |t|
|
||||
t.string "title"
|
||||
|
|
@ -30,6 +30,7 @@ ActiveRecord::Schema.define(:version => 20140319143547) do
|
|||
t.boolean "schedule_changes", :default => false
|
||||
t.integer "rating", :default => 3
|
||||
t.text "rating_desc"
|
||||
t.boolean "schedule_public"
|
||||
end
|
||||
|
||||
create_table "comments", :force => true do |t|
|
||||
|
|
@ -75,7 +76,7 @@ ActiveRecord::Schema.define(:version => 20140319143547) do
|
|||
t.boolean "use_vpositions", :default => false
|
||||
t.boolean "use_vdays", :default => false
|
||||
t.boolean "use_difficulty_levels", :default => false
|
||||
t.boolean "use_volunteers"
|
||||
t.boolean "use_volunteers"
|
||||
end
|
||||
|
||||
create_table "conferences_questions", :id => false, :force => true do |t|
|
||||
|
|
@ -170,8 +171,8 @@ ActiveRecord::Schema.define(:version => 20140319143547) do
|
|||
t.integer "room_id"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.string "media_id"
|
||||
t.string "media_type"
|
||||
t.string "media_id"
|
||||
t.string "media_type"
|
||||
t.boolean "require_registration"
|
||||
t.integer "difficulty_level_id"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue