Commit e1e8aba1 authored by Nick Thomas's avatar Nick Thomas

Fix a failing spec

parent 808968ed
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment