Skip to content

Commit

Permalink
Rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermoap committed Sep 28, 2023
1 parent e8b8bcb commit 7514a75
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ group :development, :test do
gem 'parallel_tests', '~> 4.2'
gem 'pry-byebug', '~> 3.9', platform: :mri
gem 'pry-rails', '~> 0.3.9'
gem 'rspec-rails', '~> 6.0'
gem 'rspec-openapi', '~> 0.8.1'
gem 'rspec-rails', '~> 6.0'
end

group :development do
Expand Down
2 changes: 2 additions & 0 deletions config/initializers/rspec_openapi.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'rspec/openapi'

# Set request `headers` - generate parameters with headers for a request
Expand Down
3 changes: 1 addition & 2 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@
end
Kernel.srand config.seed
config.before(:all) { Faker::Config.random = Random.new(config.seed) }
config.before { travel_to Time.local(2023) }
config.after { travel_back }
config.before { travel_to Time.zone.local(2023) }
end
end

Expand Down

0 comments on commit 7514a75

Please sign in to comment.