spec/cmds/assert_spec.rb in cmds-0.1.5 vs spec/cmds/assert_spec.rb in cmds-0.2.0
- old
+ new
@@ -9,8 +9,8 @@
expect{ Cmds! "exit 1" }.to raise_error Errno::EPERM
end
it "should be chainable when the command is ok" do
expect( Cmds!("echo hey").out ).to eq "hey\n"
- expect( Cmds::Cmd.new("echo hey").capture.assert.out ).to eq "hey\n"
+ expect( Cmds.new("echo hey").capture.assert.out ).to eq "hey\n"
end
end # Cmds::run
\ No newline at end of file