aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/lib/controller/fake_models.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/test/lib/controller/fake_models.rb')
-rw-r--r--actionview/test/lib/controller/fake_models.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/lib/controller/fake_models.rb b/actionview/test/lib/controller/fake_models.rb
index cc5f5c1d59..80649db88b 100644
--- a/actionview/test/lib/controller/fake_models.rb
+++ b/actionview/test/lib/controller/fake_models.rb
@@ -6,7 +6,7 @@ class Customer < Struct.new(:name, :id)
undef_method :to_json
- def to_xml(options={})
+ def to_xml(options = {})
if options[:builder]
options[:builder].name name
else
@@ -14,7 +14,7 @@ class Customer < Struct.new(:name, :id)
end
end
- def to_js(options={})
+ def to_js(options = {})
"name: #{name.inspect}"
end
alias :to_text :to_js