Commit bd9adba
committed
Fix specs for Ruby 3.2
Since `Object#=~` has been removed in Ruby 3.2, the following code
raises NoMethodError when `asset` provided as `Hash`.
https://github.com/seanpdoyle/ember-cli-rails-assets/blob/v0.7.0/lib/ember_cli/assets/asset_map.rb#L36
Ref: https://bugs.ruby-lang.org/issues/15231
This spec should be updated with empty value as `nil` due to type consistency.1 parent e3200f5 commit bd9adba
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments