diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-12-04 01:55:50 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-12-04 01:55:50 -0200 |
commit | 77c1121db4cd99bd815a8bd858052a65c3007501 (patch) | |
tree | a87670ad711c79ed5738e9eb5dc861772b953a1a /railties | |
parent | 640a300d17e617ef56fa0db16bc5d070c22bc1cd (diff) | |
download | rails-77c1121db4cd99bd815a8bd858052a65c3007501.tar.gz rails-77c1121db4cd99bd815a8bd858052a65c3007501.tar.bz2 rails-77c1121db4cd99bd815a8bd858052a65c3007501.zip |
Remove test_files check from plugin checks
Related with 668c006cf33a63ac3f8a8f064c772a339341e70c.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/generators/plugin_generator_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb index 67c744b529..60390cfa01 100644 --- a/railties/test/generators/plugin_generator_test.rb +++ b/railties/test/generators/plugin_generator_test.rb @@ -387,7 +387,6 @@ class PluginGeneratorTest < Rails::Generators::TestCase run_generator assert_file "bukkits.gemspec", /s.name\s+= "bukkits"/ assert_file "bukkits.gemspec", /s.files = Dir\["\{app,config,db,lib\}\/\*\*\/\*", "MIT-LICENSE", "Rakefile", "README\.rdoc"\]/ - assert_file "bukkits.gemspec", /s.test_files = Dir\["test\/\*\*\/\*"\]/ assert_file "bukkits.gemspec", /s.version\s+ = Bukkits::VERSION/ end @@ -461,9 +460,6 @@ class PluginGeneratorTest < Rails::Generators::TestCase def test_skipping_test_files run_generator [destination_root, "--skip-test"] assert_no_file "test" - assert_file "bukkits.gemspec" do |contents| - assert_no_match(/s.test_files = Dir\["test\/\*\*\/\*"\]/, contents) - end assert_file '.gitignore' do |contents| assert_no_match(/test\dummy/, contents) end |