Skip to content

Commit 72fe722

Browse files
committed
Fix some typos
1 parent 70a97b1 commit 72fe722

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

spec/rubocop/cop/rspec/expect_actual_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322

323323
it 'ignores rspec-rails routing specs' do
324324
expect_no_offenses(
325-
'expect(get: "/foo").to be_routeable',
325+
'expect(get: "/foo").to be_routable',
326326
'spec/routing/foo_spec.rb'
327327
)
328328
end

spec/rubocop/cop/rspec/pending_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
RUBY
117117
end
118118

119-
it 'flags blocks with pending: surrounded by `%()` stringg metadata ' \
119+
it 'flags blocks with pending: surrounded by `%()` string metadata ' \
120120
'and line break' do
121121
expect_offense(<<-RUBY)
122122
it "test", pending: %(test ,

spec/rubocop/cop/rspec/skip_block_inside_example_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
RUBY
3131
end
3232

33-
it 'does not register an offense outside exxamples' do
33+
it 'does not register an offense outside examples' do
3434
expect_no_offenses(<<~RUBY)
3535
skip 'not yet implemented' do
3636
end

0 commit comments

Comments
 (0)