Skip to content

Commit 35e8d6a

Browse files
committed
Don't need fixnum here either
1 parent 8f2a6f6 commit 35e8d6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/octocatalog-diff/tests/util/util_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
describe '#object_is_any_of?' do
99
it 'should return true when object is one of the classes' do
1010
object = 42
11-
classes = [Fixnum, Integer]
11+
classes = [String, Hash, Integer]
1212
expect(described_class.object_is_any_of?(object, classes)).to eq(true)
1313
end
1414

1515
it 'should return false when object is not one of the classes' do
1616
object = :chickens
17-
classes = [Fixnum, Integer]
17+
classes = [String, Hash, Integer]
1818
expect(described_class.object_is_any_of?(object, classes)).to eq(false)
1919
end
2020
end

0 commit comments

Comments
 (0)