aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/subject.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/subject.rb')
-rw-r--r--spec/support/subject.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/support/subject.rb b/spec/support/subject.rb
new file mode 100644
index 000000000..d0c070314
--- /dev/null
+++ b/spec/support/subject.rb
@@ -0,0 +1,11 @@
+module Support
+ module Subject
+ def expect_it
+ expect(subject)
+ end
+ end
+end
+
+RSpec.configure do |conf|
+ conf.include Support::Subject
+end