diff --git a/spec/variable_spec.rb b/spec/variable_spec.rb index ab66936b..10fb061b 100644 --- a/spec/variable_spec.rb +++ b/spec/variable_spec.rb @@ -6,5 +6,4 @@ expect(greeting).to eq("Hello World") end - end diff --git a/variable.rb b/variable.rb index 12b07267..e3e51244 100644 --- a/variable.rb +++ b/variable.rb @@ -1,2 +1,6 @@ # Define a local variable called 'greeting', # give it the value of the string "Hello World" + + greeting = "Hello World" + puts 'greeting' +