From 6ff30234c92cdb335c33bea25b9d5e98b950a014 Mon Sep 17 00:00:00 2001 From: Rashad Goddard Date: Sat, 10 Oct 2020 23:25:30 +0000 Subject: [PATCH] Done. --- spec/variable_spec.rb | 10 ++++------ variable.rb | 2 ++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/variable_spec.rb b/spec/variable_spec.rb index ab66936..b3e481c 100644 --- a/spec/variable_spec.rb +++ b/spec/variable_spec.rb @@ -1,10 +1,8 @@ # Code your solution in variable.rb describe "./variable.rb" do + require_relative '../variable.rb' - it "defined a local variable called greeting and set it equal to 'Hello World'" do - greeting = get_variable_from_file('./variable.rb', "greeting") - - expect(greeting).to eq("Hello World") - end - +RSpec.configure do |config| + config.order = 'default' +end end diff --git a/variable.rb b/variable.rb index 12b0726..0ba100b 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