提交 c1ce17a5 编写于 作者: B Bob Remeika 提交者: Stefan Penner

Changed observe_field to field_observer

上级 081e057b
......@@ -79,7 +79,7 @@ def observe_field(name, options = {})
options[:name] = name
<<-SCRIPT
<script type="application/json" data-js-type="observe_field">
<script type="application/json" data-js-type="field_observer">
//<![CDATA[
#{options.to_json}
// ]]>
......
......@@ -354,7 +354,7 @@ def field(options = {})
test "basic" do
assert_html field,
%w(script type="application/json" data-js-type="observe_field")
%w(script type="application/json" data-js-type="field_observer")
end
test "using a url string" do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册