Skip to content

Commit

Permalink
Auto corrected by following Format Ruby Code
Browse files Browse the repository at this point in the history
  • Loading branch information
Awesome Code committed Mar 6, 2021
1 parent 6f30aed commit 14c0eff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/rails/add_application_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class ApplicationJob < ActiveJob::Base
class PostJob < ActiveJob::Base
end
EOS

let(:test_rewritten_content) { <<~EOS }
class PostJob < ApplicationJob
end
Expand Down
1 change: 1 addition & 0 deletions spec/rails/add_application_record_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class ApplicationRecord < ActiveRecord::Base
class Post < ActiveRecord::Base
end
EOS

let(:test_rewritten_content) { <<~EOS }
class Post < ApplicationRecord
end
Expand Down
1 change: 1 addition & 0 deletions spec/rails/upgrade_3_0_to_3_1_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
self.include_root_in_json = false
end
EOS

let(:session_store_content) {
"
Synvert::Application.config.session_store :cookie_store, key: 'somethingold'
Expand Down
1 change: 1 addition & 0 deletions spec/ruby/new_2_2_hash_syntax_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
{ :"foo-#{key}" => 'foo_value', :"bar-key" => 42, :"a\tb" => false, :"c'd" => nil }
{ "foo-#{key}": 'foo_value', 'bar-key': 42, "a\tb": false, "c'd": nil }
EOS

let(:test_rewritten_content) { <<~'EOS' }
{ foo: 'bar', 'foo' => 'bar' }
{ key1: 'value1', key2: 'value2' }
Expand Down

0 comments on commit 14c0eff

Please sign in to comment.