Skip to content

Commit

Permalink
Fix gem versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gbmoretti committed Oct 2, 2023
1 parent c7b0a3d commit bb0987b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/ostruct-sanitizer/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ gemspec

gem "bundler", "~> 2.4.7"
gem "byebug"
gem "rake", "~> 10.0"
gem "rspec", "~> 3.0"
gem "rake", "13.0.6"
gem "rspec", "3.12.0"
gem "rubocop-powerhome", "0.5.0"
6 changes: 1 addition & 5 deletions packages/ostruct-sanitizer/spec/ostruct/sanitizer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@

describe "invalid usage" do
it "fails including OStruct::Sanitizer within a non OpenStruct class" do
define_invalid_usage = -> {
Class.new { include OStruct::Sanitizer }
}

expect(define_invalid_usage).to(
expect { Class.new { include OStruct::Sanitizer } }.to(
raise_error "#{OStruct::Sanitizer.name} can only be used within OpenStruct classes"
)
end
Expand Down

0 comments on commit bb0987b

Please sign in to comment.