diff options
author | schneems <richard.schneeman@gmail.com> | 2017-08-09 16:27:54 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2017-08-09 16:27:54 -0500 |
commit | a8f59044fb18ce718367ffe4cd3ec0259c766b5f (patch) | |
tree | bb2bb8a2b0fd31b64688eb9b17472cdcb2c1c6ef /railties/test | |
parent | 54ed5270c5b696ea14f4e2251b8ea0e0ac2c4dfa (diff) | |
download | rails-a8f59044fb18ce718367ffe4cd3ec0259c766b5f.tar.gz rails-a8f59044fb18ce718367ffe4cd3ec0259c766b5f.tar.bz2 rails-a8f59044fb18ce718367ffe4cd3ec0259c766b5f.zip |
Revert "Set Ruby version in Gemfile and .ruby-version by default"
This reverts commit fd7f978a5068921380308fe439af3923566c8f61.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 44c4688aa4..3e9f19fa9a 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -4,7 +4,6 @@ require "generators/shared_generator_tests" DEFAULT_APP_FILES = %w( .gitignore - .ruby-version README.md Gemfile Rakefile @@ -809,17 +808,6 @@ class AppGeneratorTest < Rails::Generators::TestCase end end - def test_inclusion_of_ruby_version - run_generator - - assert_file "Gemfile" do |content| - assert_match(/ruby '#{RUBY_VERSION}'/, content) - end - assert_file ".ruby-version" do |content| - assert_match(/#{RUBY_VERSION}/, content) - end - end - def test_version_control_initializes_git_repo run_generator [destination_root] assert_directory ".git" |