Skip to content

Commit 2a57604

Browse files
committed
Update rspec gem and its settings
1 parent c4bf241 commit 2a57604

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ group :development, :test do
9494

9595
gem 'capybara'
9696
gem 'factory_bot_rails'
97-
gem 'rspec-rails', '~> 5.0'
97+
gem 'rspec-rails', '~> 5.1.2'
9898
gem 'selenium-webdriver'
9999

100100
gem 'dotenv-rails'

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ DEPENDENCIES
600600
rake
601601
rambulance!
602602
rinku
603-
rspec-rails (~> 5.0)
603+
rspec-rails (~> 5.1.2)
604604
rspec-retry
605605
rss
606606
ruby-mp3info

config/application.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@ class Application < Rails::Application
4444

4545
# HTML5サニタイザーの使用
4646
config.action_view.sanitizer_vendor = Rails::HTML::Sanitizer.best_supported_vendor
47+
48+
# Fixture paths
49+
config.fixture_paths = [Rails.root.join('spec/fixtures')]
4750
end
4851
end

0 commit comments

Comments
 (0)