Skip to content

Commit

Permalink
Merge pull request rubyforgood#241 from rubyforgood/deprecations
Browse files Browse the repository at this point in the history
this fixes the deprecation warnings with rubocop and rpsec
  • Loading branch information
seanmarcia authored Oct 22, 2019
2 parents e88d461 + 08d28e9 commit 9d3d053
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ group :development, :test do
gem "pry-remote"
gem "rspec-rails", "~> 3.5"
gem "rubocop"
gem "rubocop-rspec"
gem "simplecov", require: false
end

Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ GEM
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.4.0)
rubocop-rspec (1.35.0)
rubocop (>= 0.60.0)
ruby-progressbar (1.10.0)
ruby_dep (1.5.0)
rubyzip (1.3.0)
Expand Down Expand Up @@ -442,6 +444,7 @@ DEPENDENCIES
rails (~> 5.2.1)
rspec-rails (~> 3.5)
rubocop
rubocop-rspec
sass-rails (~> 5.0)
selenium-webdriver
shoulda-matchers
Expand Down
2 changes: 1 addition & 1 deletion spec/factories/item_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# This is loaded before the database and migratinos are run. If we use
# Child.new it doesn't allow the db to be created.
# TODO: Figure out what's going on here.
child OpenStruct.new
child { OpenStruct.new }
# child OpenStruct.new
end

Expand Down
2 changes: 1 addition & 1 deletion spec/factories/partner_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

factory :partner_request_for_families do
transient do
children []
children { [] }
item_requests_count { 2 }
end

Expand Down

0 comments on commit 9d3d053

Please sign in to comment.