Skip to content

Commit

Permalink
Merge pull request #107 from publify/dependabot/bundler/rubocop-rspec…
Browse files Browse the repository at this point in the history
…-tw-2.24.1

Update rubocop-rspec requirement from ~> 2.23.2 to ~> 2.24.1
  • Loading branch information
mvz authored Sep 29, 2023
2 parents 38a7741 + 807dd52 commit f062bab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ RSpec/ExpectInHook:
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/helpers/author_helper_spec.rb'
- 'spec/lib/transforms_spec.rb'
- 'spec/models/article/factory_spec.rb'

# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Expand Down Expand Up @@ -174,6 +172,12 @@ RSpec/ScatteredSetup:
Exclude:
- 'spec/controllers/admin/articles_controller_spec.rb'

# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
# Include: **/*_spec.rb
RSpec/SpecFilePathFormat:
Exclude:
- 'spec/lib/transforms_spec.rb'

RSpec/StubbedMock:
Exclude:
- 'spec/controllers/admin/notes_controller_spec.rb'
Expand Down
2 changes: 1 addition & 1 deletion publify_core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "rubocop-factory_bot", "~> 2.24.0"
s.add_development_dependency "rubocop-performance", "~> 1.19.0"
s.add_development_dependency "rubocop-rails", "~> 2.20.2"
s.add_development_dependency "rubocop-rspec", "~> 2.23.2"
s.add_development_dependency "rubocop-rspec", "~> 2.24.1"
s.add_development_dependency "shoulda-matchers", "~> 5.3"
s.add_development_dependency "simplecov", "~> 0.22.0"
s.add_development_dependency "sqlite3", "~> 1.6"
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions spec/models/article/factory_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

require "rails_helper"

RSpec.describe Article::Builder, type: :model do
RSpec.describe Article::Factory, type: :model do
let(:blog) { create(:blog) }
let(:user) { create(:user) }
let(:factory) { Article::Factory.new(blog, user) }
let(:factory) { described_class.new(blog, user) }

describe "#default" do
let(:new_article) { factory.default }
Expand Down

0 comments on commit f062bab

Please sign in to comment.