lib/rspec-subject-extensions.rb in rspec-subject-extensions-0.1.0 vs lib/rspec-subject-extensions.rb in rspec-subject-extensions-0.2.0
- old
+ new
@@ -1,8 +1,16 @@
-require 'rspec/subject/extensions'
\ No newline at end of file
+require 'rspec/core'
+require 'rspec-subject-extensions/class_methods'
+require 'rspec-subject-extensions/version'
+
+# RSpecSubjectExtensions let's you use short-hands to generate nested examples groups
+module RSpecSubjectExtensions
+end
+
+RSpec::Core::ExampleGroup.extend(RSpecSubjectExtensions::ClassMethods)