Skip to content

Commit

Permalink
Merge pull request #1022 from exercism/update_Bob_language
Browse files Browse the repository at this point in the history
Update Bob for language changes
  • Loading branch information
kotp authored Jan 20, 2020
2 parents 27299f0 + a7c42d0 commit 1f982dc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions exercises/bob/bob_test.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'minitest/autorun'
require_relative 'bob'

# Common test data version: 1.4.0 ca79943
# Common test data version: 1.6.0 42b9d45
class BobTest < Minitest::Test
def test_stating_something
# skip
Expand Down Expand Up @@ -41,20 +41,20 @@ def test_asking_gibberish

def test_talking_forcefully
skip
remark = "Let's go make out behind the gym!"
assert_equal "Whatever.", Bob.hey(remark), %q{Bob hears "Let's go make out behind the gym!", and..}
remark = "Hi there!"
assert_equal "Whatever.", Bob.hey(remark), %q{Bob hears "Hi there!", and..}
end

def test_using_acronyms_in_regular_speech
skip
remark = "It's OK if you don't want to go to the DMV."
assert_equal "Whatever.", Bob.hey(remark), %q{Bob hears "It's OK if you don't want to go to the DMV.", and..}
remark = "It's OK if you don't want to go work for NASA."
assert_equal "Whatever.", Bob.hey(remark), %q{Bob hears "It's OK if you don't want to go work for NASA.", and..}
end

def test_forceful_question
skip
remark = "WHAT THE HELL WERE YOU THINKING?"
assert_equal "Calm down, I know what I'm doing!", Bob.hey(remark), %q{Bob hears "WHAT THE HELL WERE YOU THINKING?", and..}
remark = "WHAT'S GOING ON?"
assert_equal "Calm down, I know what I'm doing!", Bob.hey(remark), %q{Bob hears "WHAT'S GOING ON?", and..}
end

def test_shouting_numbers
Expand Down Expand Up @@ -83,8 +83,8 @@ def test_shouting_with_special_characters

def test_shouting_with_no_exclamation_mark
skip
remark = "I HATE THE DMV"
assert_equal "Whoa, chill out!", Bob.hey(remark), %q{Bob hears "I HATE THE DMV", and..}
remark = "I HATE THE DENTIST"
assert_equal "Whoa, chill out!", Bob.hey(remark), %q{Bob hears "I HATE THE DENTIST", and..}
end

def test_statement_containing_question_mark
Expand Down

0 comments on commit 1f982dc

Please sign in to comment.