spec/lib/stairs/env_adapters/rvm_spec.rb in stairs-0.4.0 vs spec/lib/stairs/env_adapters/rvm_spec.rb in stairs-0.4.1

- old
+ new

@@ -35,6 +35,16 @@ ) subject.set(name, value) end end -end \ No newline at end of file + + describe "#unset" do + it "delegates to the well tested FileMutation util" do + Stairs::Util::FileMutation.should_receive(:remove).with( + Regexp.new("^export SOMETHING=(.*)\n"), + ".rvmrc", + ) + subject.unset "SOMETHING" + end + end +end