aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/rails_info_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/rails_info_test.rb')
-rw-r--r--railties/test/rails_info_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/rails_info_test.rb b/railties/test/rails_info_test.rb
index 3c893fb3e0..fc4175719e 100644
--- a/railties/test/rails_info_test.rb
+++ b/railties/test/rails_info_test.rb
@@ -17,7 +17,7 @@ class InfoTest < ActiveSupport::TestCase
def test_property_with_block_swallows_exceptions_and_ignores_property
assert_nothing_raised do
Rails::Info.module_eval do
- property("Bogus") {raise}
+ property("Bogus") { raise }
end
end
assert !property_defined?("Bogus")
@@ -32,7 +32,7 @@ class InfoTest < ActiveSupport::TestCase
def test_property_with_block
Rails::Info.module_eval do
- property("Goodbye") {"World"}
+ property("Goodbye") { "World" }
end
assert_property "Goodbye", "World"
end