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 +