blob: 5458abe6f9eb4de90a86054ac544fdfcbf311c05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require 'ruby2d'
RSpec.describe Ruby2D::Sound do
describe "#new" do
it "raises exception if audio file doesn't exist" do
expect { Sound.new("bad_sound.wav") }.to raise_error(Ruby2D::Error)
end
end
end
|