Commit 063527c6 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Executable] Format spec code

parent b8db786a
......@@ -30,22 +30,19 @@ module Pod
end
end
it "returns the right output" do
it 'returns the right output' do
cmd = ['-e', <<-RB]
puts 'foo'
puts 'bar'
RB
Timeout.timeout(2) do
Executable.execute_command('ruby', cmd, true).should == "foo\nbar\n"
end
end
it "handles an EOFError" do
cmd = ['-e', <<-RB]
puts 'foo'
print 'bar'
RB
Timeout.timeout(2) do
Executable.execute_command('ruby', cmd, true).should == "foo\nbar#{$/}"
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment