spec/cmds_spec.rb in cmds-0.1.5 vs spec/cmds_spec.rb in cmds-0.2.0
- old
+ new
@@ -7,10 +7,10 @@
it "has dees syntax" do
expect(Cmds.chomp! "echo 'here'").to eq 'here'
expect(
- Cmds::Cmd.new("head %{opts} %s").
+ Cmds.new("head %{opts} %s").
prepare("/dev/random", opts: {c: 64})
).to eq "head -c 64 /dev/random"
# expect(Cmds.chomp! "echo %s", 'here').to eq 'here'
end