Fix a failing spec
This commit is contained in:
parent
cb1207af36
commit
0e24b1280e
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ describe CacheMarkdownField do
|
|||
end
|
||||
|
||||
extend ActiveModel::Callbacks
|
||||
define_model_callbacks :save
|
||||
define_model_callbacks :create, :update
|
||||
|
||||
include CacheMarkdownField
|
||||
cache_markdown_field :foo
|
||||
|
@ -56,7 +56,7 @@ describe CacheMarkdownField do
|
|||
end
|
||||
|
||||
def save
|
||||
run_callbacks :save do
|
||||
run_callbacks :update do
|
||||
changes_applied
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue