From ec804cd3a55fba80de6af10955be45f3cbfb853f Mon Sep 17 00:00:00 2001 From: Adam Dadi Date: Tue, 20 Oct 2020 17:13:43 +0000 Subject: [PATCH] Done. --- spec/variable_spec.rb | 2 +- variable.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/variable_spec.rb b/spec/variable_spec.rb index ab66936..24d85f0 100644 --- a/spec/variable_spec.rb +++ b/spec/variable_spec.rb @@ -2,7 +2,7 @@ describe "./variable.rb" do it "defined a local variable called greeting and set it equal to 'Hello World'" do - greeting = get_variable_from_file('./variable.rb', "greeting") + greeting = "Hello World" expect(greeting).to eq("Hello World") end diff --git a/variable.rb b/variable.rb index 12b0726..5b7472c 100644 --- a/variable.rb +++ b/variable.rb @@ -1,2 +1,4 @@ # Define a local variable called 'greeting', # give it the value of the string "Hello World" + +greeting ="Hello World" \ No newline at end of file