We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f2a6f6 commit 35e8d6aCopy full SHA for 35e8d6a
spec/octocatalog-diff/tests/util/util_spec.rb
@@ -8,13 +8,13 @@
8
describe '#object_is_any_of?' do
9
it 'should return true when object is one of the classes' do
10
object = 42
11
- classes = [Fixnum, Integer]
+ classes = [String, Hash, Integer]
12
expect(described_class.object_is_any_of?(object, classes)).to eq(true)
13
end
14
15
it 'should return false when object is not one of the classes' do
16
object = :chickens
17
18
expect(described_class.object_is_any_of?(object, classes)).to eq(false)
19
20
0 commit comments