Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.4.2
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.387 kb
require File.dirname(__FILE__) + '/base'
describe Rush::EmbeddableShell do
before do
@shell = Rush::EmbeddableShell.new
end
it "should execute unknown methods against a Rush::Shell instance" do
@shell.root.class.should == Rush::Dir
end
it "should executes a block as if it were inside the shell" do
@shell.execute_in_shell {
root.class.should == Rush::Dir
}
end
end
Jump to Line
Something went wrong with that request. Please try again.