Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests all passing #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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