Skip to content

Commit 839fac6

Browse files
committed
test: remove spec
1 parent d9b3dab commit 839fac6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

spec/rubocop/cop/rspec_rails/minitest_assertions_spec.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -335,18 +335,6 @@
335335
RUBY
336336
end
337337

338-
it 'registers an offense when using `assert_in_delta` with ' \
339-
'a missing delta' do
340-
expect_offense(<<~RUBY)
341-
assert_in_delta a, b, "whoops, we forgot about the actual delta!"
342-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Use `expect(b).to be_within("whoops, we forgot about the actual delta!").of(a)`.
343-
RUBY
344-
345-
expect_correction(<<~RUBY)
346-
expect(b).to be_within("whoops, we forgot about the actual delta!").of(a)
347-
RUBY
348-
end
349-
350338
it 'registers an offense when using `assert_in_delta` with ' \
351339
'multi-line arguments' do
352340
expect_offense(<<~RUBY)

0 commit comments

Comments
 (0)