From 7aeb63edba6c6cb643f6df2e11b76316d4a50b93 Mon Sep 17 00:00:00 2001 From: Hashem Gray Date: Thu, 6 May 2021 01:37:16 +0000 Subject: [PATCH] Done. --- .rspec | 3 ++- spec/variable_spec.rb | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.rspec b/.rspec index 5255835f..4ff5b039 100644 --- a/.rspec +++ b/.rspec @@ -1,3 +1,4 @@ --color --format documentation ---require spec_helper \ No newline at end of file +--require spec_helper +greeting = "hello world" diff --git a/spec/variable_spec.rb b/spec/variable_spec.rb index ab66936b..995b3c14 100644 --- a/spec/variable_spec.rb +++ b/spec/variable_spec.rb @@ -2,9 +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" "./variable.rb" "greeting" end - expect(greeting).to eq("Hello World") end - -end +