Skip to content

Commit

Permalink
Merge pull request #28422 from y-yagi/rename_app_update_test_to_more_…
Browse files Browse the repository at this point in the history
…appropriate_name

Rename test of `app:update` to more appropriate name
  • Loading branch information
kaspth committed Mar 15, 2017
2 parents ef28b68 + bd5256a commit 4d7a7f3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions railties/test/generators/app_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def test_application_name_is_detected_if_it_exists_and_app_folder_renamed
end
end

def test_rails_update_generates_correct_session_key
def test_app_update_generates_correct_session_key
app_root = File.join(destination_root, "myapp")
run_generator [app_root]

Expand All @@ -156,7 +156,7 @@ def test_new_application_not_include_api_initializers
assert_no_file "config/initializers/cors.rb"
end

def test_rails_update_keep_the_cookie_serializer_if_it_is_already_configured
def test_app_update_keep_the_cookie_serializer_if_it_is_already_configured
app_root = File.join(destination_root, "myapp")
run_generator [app_root]

Expand All @@ -168,7 +168,7 @@ def test_rails_update_keep_the_cookie_serializer_if_it_is_already_configured
end
end

def test_rails_update_set_the_cookie_serializer_to_marshal_if_it_is_not_already_configured
def test_app_update_set_the_cookie_serializer_to_marshal_if_it_is_not_already_configured
app_root = File.join(destination_root, "myapp")
run_generator [app_root]

Expand All @@ -183,7 +183,7 @@ def test_rails_update_set_the_cookie_serializer_to_marshal_if_it_is_not_already_
end
end

def test_rails_update_dont_set_file_watcher
def test_app_update_dont_set_file_watcher
app_root = File.join(destination_root, "myapp")
run_generator [app_root]

Expand All @@ -197,7 +197,7 @@ def test_rails_update_dont_set_file_watcher
end
end

def test_rails_update_does_not_create_new_framework_defaults_by_default
def test_app_update_does_not_create_new_framework_defaults_by_default
app_root = File.join(destination_root, "myapp")
run_generator [app_root]

Expand All @@ -215,7 +215,7 @@ def test_rails_update_does_not_create_new_framework_defaults_by_default
end
end

def test_rails_update_does_not_create_rack_cors
def test_app_update_does_not_create_rack_cors
app_root = File.join(destination_root, "myapp")
run_generator [app_root]

Expand All @@ -227,7 +227,7 @@ def test_rails_update_does_not_create_rack_cors
end
end

def test_rails_update_does_not_remove_rack_cors_if_already_present
def test_app_update_does_not_remove_rack_cors_if_already_present
app_root = File.join(destination_root, "myapp")
run_generator [app_root]

Expand Down

0 comments on commit 4d7a7f3

Please sign in to comment.