summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorTom Black <[email protected]>2017-02-22 01:51:53 -0500
committerTom Black <[email protected]>2017-02-22 01:51:53 -0500
commitc7851266b6f9c54f7a0c8165105577dfd5915d24 (patch)
tree244529962218ffc5747e91de0c654fd22bed065c /test
parentbd349170ddf4e8506098a2c58a1347452288a462 (diff)
downloadruby2d-c7851266b6f9c54f7a0c8165105577dfd5915d24.tar.gz
ruby2d-c7851266b6f9c54f7a0c8165105577dfd5915d24.zip
`extend` rather than `include` the DSL
So that DSL methods aren’t added to every `Object`
Diffstat (limited to 'test')
-rw-r--r--test/dsl_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dsl_spec.rb b/test/dsl_spec.rb
index 6d3d8b4..522b29e 100644
--- a/test/dsl_spec.rb
+++ b/test/dsl_spec.rb
@@ -1,4 +1,5 @@
require 'ruby2d'
+include Ruby2D::DSL
RSpec.describe Ruby2D::DSL do