We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26da409 commit 2b3b57fCopy full SHA for 2b3b57f
bin/greetings.rb
@@ -0,0 +1,4 @@
1
+puts "What is your name?"
2
+name = gets.chomp!
3
+
4
+puts "Hello #{name}!"
spec/greetings_spec.rb
@@ -2,7 +2,6 @@
describe "Greetings" do
it 'asks the user for their name and outputs the customized greeting' do
5
- pending
6
# this is the same as typing `ruby bin/greetings.rb` at the command line
7
run_script("greetings.rb")
8
type("Mike")
0 commit comments