aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-03-08 10:26:39 +0100
committerGitHub <noreply@github.com>2017-03-08 10:26:39 +0100
commit25e4b15b1bb486aae727c2079f82d30c743d0f50 (patch)
treeb18aca98f1c6b2b211b58a8e618053ff8abdefdd /railties
parentb85b92176be9abac8f072114e80f4e29eea99f77 (diff)
parent841dddaf26e496c4aaa43dcc2338da193aeffd4b (diff)
downloadrails-25e4b15b1bb486aae727c2079f82d30c743d0f50.tar.gz
rails-25e4b15b1bb486aae727c2079f82d30c743d0f50.tar.bz2
rails-25e4b15b1bb486aae727c2079f82d30c743d0f50.zip
Merge pull request #28338 from y-yagi/use_appropriate_type_in_generators_test
Use appropriate type in generators test
Diffstat (limited to 'railties')
-rw-r--r--railties/test/generators_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators_test.rb b/railties/test/generators_test.rb
index 68ba435393..c3c16b6f86 100644
--- a/railties/test/generators_test.rb
+++ b/railties/test/generators_test.rb
@@ -200,7 +200,7 @@ class GeneratorsTest < Rails::Generators::TestCase
self.class.class_eval(<<-end_eval, __FILE__, __LINE__ + 1)
class WithOptionsGenerator < Rails::Generators::Base
- class_option :generate, :default => true
+ class_option :generate, default: true, type: :boolean
end
end_eval