diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-02-09 10:39:30 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-02-09 10:39:30 +0100 |
commit | c6a36ef9af6cf6a16497df32130765637de9a049 (patch) | |
tree | 62ab0a3ead1a84843d57d5434c6ee1c14a98957c | |
parent | 300631e08f27ea65d93bc20a3eb55d75ed6a2405 (diff) | |
parent | f5c27446bfc112043d833148446aeb7d72dedd8e (diff) | |
download | rails-c6a36ef9af6cf6a16497df32130765637de9a049.tar.gz rails-c6a36ef9af6cf6a16497df32130765637de9a049.tar.bz2 rails-c6a36ef9af6cf6a16497df32130765637de9a049.zip |
Merge pull request #18839 from yuki24/remove-warning-from-generators-named-base-test
Remove warning from generator named base test
-rw-r--r-- | railties/test/generators/named_base_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/railties/test/generators/named_base_test.rb b/railties/test/generators/named_base_test.rb index 4199e00b0d..3ec71065ff 100644 --- a/railties/test/generators/named_base_test.rb +++ b/railties/test/generators/named_base_test.rb @@ -2,16 +2,6 @@ require 'generators/generators_test_helper' require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' require 'mocha/setup' # FIXME: stop using mocha -# Mock out what we need from AR::Base. -module ActiveRecord - class Base - class << self - attr_accessor :pluralize_table_names - end - self.pluralize_table_names = true - end -end - class NamedBaseTest < Rails::Generators::TestCase include GeneratorsTestHelper tests Rails::Generators::ScaffoldControllerGenerator |