spec/cli_spec.rb in softcover-0.8.0 vs spec/cli_spec.rb in softcover-0.8.1
- old
+ new
@@ -40,10 +40,10 @@
context "softcover new" do
before(:all) { chdir_to_fixtures }
after(:all) { remove_book }
it "should not raise error" do
- result = `softcover new book 2>&1`
+ result = `softcover new book &> /dev/null`
expect($?.exitstatus).to eq 0
end
end
shared_examples "book" do