Add rubocop-rails-omakase gem

This commit is contained in:
Ryan W
2023-12-30 16:30:37 -08:00
parent 18e0822ee2
commit cfcebd12db
13 changed files with 31 additions and 19 deletions
+1 -2
View File
@@ -12,10 +12,9 @@ RSpec.describe "articles/edit", type: :view do
render
assert_select "form[action=?][method=?]", article_path(@article), "post" do
assert_select "input[name=?]", "article[title]"
#TODO: with rich_text, this is not a textarea
# TODO: with rich_text, this is not a textarea
# assert_select "textarea[name=?]", "article[content]"
end
end
+1 -2
View File
@@ -12,10 +12,9 @@ RSpec.describe "articles/new", type: :view do
render
assert_select "form[action=?][method=?]", articles_path, "post" do
assert_select "input[name=?]", "article[title]"
#TODO: with rich_text, this is not a textarea
# TODO: with rich_text, this is not a textarea
# assert_select "textarea[name=?]", "article[content]"
end
end