summaryrefslogtreecommitdiff
path: root/spec/rubocop/cop/migration/create_table_with_foreign_keys_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubocop/cop/migration/create_table_with_foreign_keys_spec.rb')
-rw-r--r--spec/rubocop/cop/migration/create_table_with_foreign_keys_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/rubocop/cop/migration/create_table_with_foreign_keys_spec.rb b/spec/rubocop/cop/migration/create_table_with_foreign_keys_spec.rb
index 93f43b0feb0..eaaa50b8190 100644
--- a/spec/rubocop/cop/migration/create_table_with_foreign_keys_spec.rb
+++ b/spec/rubocop/cop/migration/create_table_with_foreign_keys_spec.rb
@@ -88,7 +88,7 @@ RSpec.describe RuboCop::Cop::Migration::CreateTableWithForeignKeys, type: :ruboc
shared_examples 'target to high traffic table' do |dsl_method, table_name|
context 'when the target is defined as option' do
- it 'registers an offense ' do
+ it 'registers an offense' do
expect_offense(<<~RUBY)
def up
create_table(:foo) do |t|
@@ -102,7 +102,7 @@ RSpec.describe RuboCop::Cop::Migration::CreateTableWithForeignKeys, type: :ruboc
end
context 'when the target has implicit definition' do
- it 'registers an offense ' do
+ it 'registers an offense' do
expect_offense(<<~RUBY)
def up
create_table(:foo) do |t|