Skip to content

Comments

Finished Fizzbuzz and DeafGrandma. Bundle exec fails the last test wh…#95

Open
AlexRichards9595 wants to merge 2 commits intopaircolumbus:masterfrom
AlexRichards9595:alex_richards_solution
Open

Finished Fizzbuzz and DeafGrandma. Bundle exec fails the last test wh…#95
AlexRichards9595 wants to merge 2 commits intopaircolumbus:masterfrom
AlexRichards9595:alex_richards_solution

Conversation

@AlexRichards9595
Copy link

Bundle exec fails the last test while just rspec-ing the file passes all the tests. A little confused there. Otherwise, works as expected.

…ile just rspec-ing the file passes all the tests. A little confused there.
script.speak("BYE")
expect(script.speak("HI GRANDMA")).to eq "NOT SINCE 1964!"
script.speak("BYE")
expect(script.speak("HI GRANDMA")).to raise_error SystemExit
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this passes. Check out the documentation for it:

https://relishapp.com/rspec/rspec-expectations/v/3-7/docs/built-in-matchers/raise-error-matcher

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