Skip to content

Commit

Permalink
style: 💄 spec/ 配下も RuboCop の監視下に置き、既存のスタイルを修正した (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikukyugamer authored Dec 7, 2023
1 parent aaa9a3c commit 57cce2c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ AllCops:
- 'db/Schemafile'
- 'db/schema.rb'
- 'vendor/**/*'
- 'spec/**/*' # ここは緒論あり
# - 'spec/**/*' # ここは緒論あり
- 'config/**/*' # ここは細分化していいかも
- 'bin/**/*'
- 'tmp/**/*'
Expand Down
2 changes: 1 addition & 1 deletion spec/factories/albums.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FactoryBot.define do
factory :album do

# TODO: 書く
end
end
2 changes: 1 addition & 1 deletion spec/factories/artists.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FactoryBot.define do
factory :artist do

# TODO: 書く
end
end
2 changes: 1 addition & 1 deletion spec/factories/features.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FactoryBot.define do
factory :feature do

# TODO: 書く
end
end
2 changes: 1 addition & 1 deletion spec/factories/tracks.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FactoryBot.define do
factory :track do

# TODO: 書く
end
end
4 changes: 2 additions & 2 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ENV['RAILS_ENV'] ||= 'test'
require_relative '../config/environment'
# Prevent database truncation if the environment is production
abort("The Rails environment is running in production mode!") if Rails.env.production?
abort('The Rails environment is running in production mode!') if Rails.env.production?
require 'rspec/rails'
# Add additional requires below this line. Rails is not loaded until this point!

Expand Down Expand Up @@ -38,7 +38,7 @@
RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_paths = [
Rails.root.join('spec/fixtures')
Rails.root.join('spec/fixtures'),
]

# If you're not using ActiveRecord, or you'd prefer not to run each of your
Expand Down

0 comments on commit 57cce2c

Please sign in to comment.