spec/variables_spec.rb in env-0.1.2 vs spec/variables_spec.rb in env-0.2.0
- old
+ new
@@ -14,11 +14,12 @@
'HOME' => home,
'TERM' => term,
'LANG' => 'en_US.UTF8',
'COLUMNS' => '80',
'LINES' => '10',
- 'SHELL' => '/bin/bash'
+ 'SHELL' => '/bin/bash',
+ 'DEBUG' => '1'
)
end
it "should parse the contents of the PATH variable" do
subject.paths.should == [
@@ -93,7 +94,11 @@
'COLORTERM' => 'gnome-terminal',
'TERM' => term
)
subject.terminal.should == 'gnome-terminal'
+ end
+
+ it "should check if DEBUG was set" do
+ subject.should be_debug
end
end