Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
magec committed Sep 26, 2016
1 parent b7e288c commit a6be6e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/migrations/remove_index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module Migrations
# the check by adding a ``rubocop:disable Migrations/RemoveIndex`` comment
# in the offending line
class RemoveIndex < Cop
MSG = 'remove_index is disalowed'.freeze
MSG = 'remove_index is disallowed'.freeze

def_node_matcher :remove_index_found, '(:send _ :remove_index ...)'

Expand Down
6 changes: 3 additions & 3 deletions spec/rubocop/cop/migrations/remove_index_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def up
let(:expected_offenses) do
[
{
message: 'remove_index is disalowed',
message: 'remove_index is disallowed',
severity: :convention,
line: 3,
column: 14,
Expand All @@ -44,7 +44,7 @@ def up
let(:expected_offenses) do
[
{
message: 'remove_index is disalowed',
message: 'remove_index is disallowed',
severity: :convention,
line: 4,
column: 18,
Expand All @@ -70,7 +70,7 @@ def change
let(:expected_offenses) do
[
{
message: 'remove_index is disalowed',
message: 'remove_index is disallowed',
severity: :convention,
line: 3,
column: 14,
Expand Down

0 comments on commit a6be6e3

Please sign in to comment.