Skip to content

Commit b50e325

Browse files
committed
rexml gem is a bundled gem since Ruby 3.0.0. So we must add rexml to Gemfile
https://stackoverflow.com/questions/65479863/rails-6-1-ruby-3-0-0-tests-error-as-they-cannot-load-rexml
1 parent 6619794 commit b50e325

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

DEVELOPING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The primary tests are located in `spec/osproject_spec.rb`, which contains the au
1414
Using RSpec, you can run test cases using `bin/rspec spec/osproject_spec.rb`. Note that the require paths are resolved according to the dir you're in when you're executing the code so running `bin/rspec spec/osproject_spec.rb` from inside the spec folder will not work.
1515

1616
## CLI
17-
CLI Behavior and business logic tests are located in `spec/oscli.rb`.
17+
CLI Behavior and business logic tests are located in `spec/osproject_spec.rb`.
1818

1919
## API
2020
API calls are not tested, as the API Client Library codebase handles this.

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ source 'https://rubygems.org'
33
gem 'rspec'
44
gem 'clamp'
55
gem 'xcodeproj'
6+
gem 'rexml'

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ GEM
88
colored2 (3.1.2)
99
diff-lcs (1.4.4)
1010
nanaimo (0.3.0)
11+
rexml (3.2.4)
1112
rspec (3.10.0)
1213
rspec-core (~> 3.10.0)
1314
rspec-expectations (~> 3.10.0)
@@ -35,6 +36,7 @@ PLATFORMS
3536

3637
DEPENDENCIES
3738
clamp
39+
rexml
3840
rspec
3941
xcodeproj
4042

0 commit comments

Comments
 (0)