Try to get correct exit code for unit tests.
This commit is contained in:
parent
f3a51cf78f
commit
a9f032ca0a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,6 @@ class SchedulerCreate < ActiveRecord::Migration
|
||||||
t.column :created_by_id, :integer, :null => false
|
t.column :created_by_id, :integer, :null => false
|
||||||
t.timestamps
|
t.timestamps
|
||||||
end
|
end
|
||||||
add_index :schedulers, [:name], :unique => true
|
|
||||||
Scheduler.create(
|
Scheduler.create(
|
||||||
:name => 'Check Channels',
|
:name => 'Check Channels',
|
||||||
:method => 'Channel.fetch',
|
:method => 'Channel.fetch',
|
||||||
|
@ -38,6 +37,7 @@ class SchedulerCreate < ActiveRecord::Migration
|
||||||
:updated_by_id => 1,
|
:updated_by_id => 1,
|
||||||
:created_by_id => 1,
|
:created_by_id => 1,
|
||||||
)
|
)
|
||||||
|
add_index :schedulers, [:name], :unique => true
|
||||||
end
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
|
|
Loading…
Reference in a new issue