summaryrefslogtreecommitdiffhomepage
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorTom Black <[email protected]>2015-11-13 00:26:17 -0500
committerTom Black <[email protected]>2015-11-13 00:26:17 -0500
commit7a96ea1932a7d9a4dd4392bfad1f60c5beb06c33 (patch)
tree3fb1f779fcd3fe28eb10beb46749ee8f1310d74d /spec/spec_helper.rb
parentdfe8e70159a3f2f47baceead173e55e9e29f91f7 (diff)
downloadruby2d-7a96ea1932a7d9a4dd4392bfad1f60c5beb06c33.tar.gz
ruby2d-7a96ea1932a7d9a4dd4392bfad1f60c5beb06c33.zip
Adding RSpec and some tests
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
new file mode 100644
index 0000000..82b6100
--- /dev/null
+++ b/spec/spec_helper.rb
@@ -0,0 +1,9 @@
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ end
+
+ config.mock_with :rspec do |mocks|
+ mocks.verify_partial_doubles = true
+ end
+end