diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-09-25 08:57:43 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-09-25 08:57:43 +0900 |
commit | 40e495c13ccd3e99b070f6471b409762dd56d990 (patch) | |
tree | 869aa9f1fc750a13db397aa39ded11ae30238182 /activerecord | |
parent | 8f037a5ab929f929fe0897edc9ecadf901c32e56 (diff) | |
download | rails-40e495c13ccd3e99b070f6471b409762dd56d990.tar.gz rails-40e495c13ccd3e99b070f6471b409762dd56d990.tar.bz2 rails-40e495c13ccd3e99b070f6471b409762dd56d990.zip |
Unneeded Mocha stubs for Kernel#system
It's done inside each test via assert_called_with or Kernel.expects
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/tasks/postgresql_rake_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/tasks/postgresql_rake_test.rb b/activerecord/test/cases/tasks/postgresql_rake_test.rb index 6302e84884..ca1defa332 100644 --- a/activerecord/test/cases/tasks/postgresql_rake_test.rb +++ b/activerecord/test/cases/tasks/postgresql_rake_test.rb @@ -229,7 +229,6 @@ if current_adapter?(:PostgreSQLAdapter) ActiveRecord::Base.stubs(:connection).returns(@connection) ActiveRecord::Base.stubs(:establish_connection).returns(true) - Kernel.stubs(:system) end def teardown @@ -333,7 +332,6 @@ if current_adapter?(:PostgreSQLAdapter) ActiveRecord::Base.stubs(:connection).returns(@connection) ActiveRecord::Base.stubs(:establish_connection).returns(true) - Kernel.stubs(:system) end def test_structure_load |