Skip to content
Open

Done #2041

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .rspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
--color
--format documentation
--require spec_helper
--require spec_helper
greeting = "hello world"
6 changes: 2 additions & 4 deletions spec/variable_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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