summaryrefslogtreecommitdiffhomepage
path: root/test/events_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/events_spec.rb')
-rw-r--r--test/events_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/events_spec.rb b/test/events_spec.rb
index a5fa279..ab07209 100644
--- a/test/events_spec.rb
+++ b/test/events_spec.rb
@@ -1,7 +1,8 @@
require 'ruby2d'
-RSpec.describe Window do
- describe 'on :bad_event' do
+RSpec.describe Ruby2D::Window do
+
+ describe "on :bad_event" do
it "raises exception if a bad event type is given" do
window = Ruby2D::Window.new
expect { window.on(:bad_event) }.to raise_error(Ruby2D::Error)
@@ -130,4 +131,5 @@ RSpec.describe Window do
end
end
end
+
end