Skip to content

Conversation

jison06
Copy link

@jison06 jison06 commented May 22, 2020

Edited refresher_spec.rb and got all the tests working.

@@ -5,78 +5,78 @@
context "guess the collection" do

it "Yes, it is a Object, but which class" do
expect([].is_a? _fill_in_object_).to be true
expect(Array.new.instance_of? _FILL_ME_IN_).to be true
expect([].is_a? Object).to be true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically true :) - I think we wanted to just show that both the literal [] and the actual class Array can be used for creating and managing lists.

end

it "Yes, it is a Object, but which class" do
expect({}.is_a? _fill_in_object_).to be true
expect(Hash.new.instance_of? _FILL_ME_IN_).to be true
expect({}.is_a? Object).to be true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants