Skip to content

Commit

Permalink
Merge b47501c into ac9ea4d
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Jun 12, 2018
2 parents ac9ea4d + b47501c commit eb5cf9b
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,5 @@ Style/MixinUsage:
Enabled: false
Style/MutableConstant:
Enabled: false
Style/RedundantParentheses:
Enabled: false
Layout/ClosingHeredocIndentation:
Enabled: false
4 changes: 2 additions & 2 deletions spec/mysql/fk/migrate_drop_fk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end

let(:sorted_actual_dsl) do
expected_dsl + (<<-RUBY)
expected_dsl + <<-RUBY
add_foreign_key "child", "parent", name: "child_ibfk_1"
RUBY
end
Expand Down Expand Up @@ -112,7 +112,7 @@
end

let(:sorted_actual_dsl) do
expected_dsl + (<<-RUBY)
expected_dsl + <<-RUBY
add_foreign_key "child", "parent"
RUBY
end
Expand Down
2 changes: 1 addition & 1 deletion spec/mysql/~default_name_fk/migrate_create_fk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
end

let(:expected_dsl) do
actual_dsl + (<<-RUBY)
actual_dsl + <<-RUBY
add_foreign_key "child", "parent", name: "fk_rails_e74ce85cbc"
RUBY
end
Expand Down
2 changes: 1 addition & 1 deletion spec/mysql/~default_name_fk/migrate_drop_fk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end

let(:sorted_actual_dsl) do
expected_dsl + (<<-RUBY)
expected_dsl + <<-RUBY
add_foreign_key "child", "parent", name: "fk_rails_e74ce85cbc"
RUBY
end
Expand Down
4 changes: 2 additions & 2 deletions spec/postgresql/fk/migrate_create_fk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
end

let(:expected_dsl) do
actual_dsl + (<<-RUBY)
actual_dsl + <<-RUBY
add_foreign_key "child", "parent", name: "child_ibfk_1"
RUBY
end
Expand Down Expand Up @@ -124,7 +124,7 @@
end

let(:expected_dsl) do
actual_dsl + (<<-RUBY)
actual_dsl + <<-RUBY
add_foreign_key "child", "parent"
RUBY
end
Expand Down
4 changes: 2 additions & 2 deletions spec/postgresql/fk/migrate_drop_fk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end

let(:sorted_actual_dsl) do
expected_dsl + (<<-RUBY)
expected_dsl + <<-RUBY
add_foreign_key "child", "parent", name: "child_ibfk_1"
RUBY
end
Expand Down Expand Up @@ -112,7 +112,7 @@
end

let(:sorted_actual_dsl) do
expected_dsl + (<<-RUBY)
expected_dsl + <<-RUBY
add_foreign_key "child", "parent"
RUBY
end
Expand Down
2 changes: 1 addition & 1 deletion spec/postgresql/~default_name_fk/migrate_create_fk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
end

let(:expected_dsl) do
actual_dsl + (<<-RUBY)
actual_dsl + <<-RUBY
add_foreign_key "child", "parent", name: "fk_rails_e74ce85cbc"
RUBY
end
Expand Down
2 changes: 1 addition & 1 deletion spec/postgresql/~default_name_fk/migrate_drop_fk_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end

let(:sorted_actual_dsl) do
expected_dsl + (<<-RUBY)
expected_dsl + <<-RUBY
add_foreign_key "child", "parent", name: "fk_rails_e74ce85cbc"
RUBY
end
Expand Down

0 comments on commit eb5cf9b

Please sign in to comment.