We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5a2656 commit 3e03e55Copy full SHA for 3e03e55
lib/rubocop/cop/rspec_rails/minitest_assertions.rb
@@ -18,6 +18,7 @@ module RSpecRails
18
# refute_empty(b)
19
# assert_true(a)
20
# assert_false(a)
21
+ # assert_response :ok
22
#
23
# # good
24
# expect(b).to eq(a)
@@ -28,6 +29,7 @@ module RSpecRails
28
29
# expect(a).not_to be_empty
30
# expect(a).to be(true)
31
# expect(a).to be(false)
32
+ # expect(response).to have_http_status(:ok)
33
34
class MinitestAssertions < ::RuboCop::Cop::Base
35
extend AutoCorrector
0 commit comments