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