spec/lib/process_spec.rb in ru2-2.1.5 vs spec/lib/process_spec.rb in ru2-2.2.0
- old
+ new
@@ -55,11 +55,11 @@
it "takes files as arguments" do
out = run(['to_s', fixture_path('files', 'foo.txt')])
expect(out).to eq("foo\nfoo\nfoo")
end
- it "runs code prepended by '! '" do
- out = run('! 2 + 3')
+ it "runs code prepended by '='" do
+ out = run('=2 + 3')
expect(out).to eq('5')
end
context "no arguments" do
it "prints help" do