spec/examples/slide_output_spec.rb in reveal-ck-0.2.0 vs spec/examples/slide_output_spec.rb in reveal-ck-0.3.0
- old
+ new
@@ -2,11 +2,11 @@
describe 'examples/slide_output.rb' do
it 'prints output from a single slide' do
expect($stdout).to receive :puts
- expect {
+ expect do
load 'examples/slide_output.rb'
- }.to_not raise_error
+ end.to_not raise_error
end
end