Permalink
Browse files

use RSpec to extend it

  • Loading branch information...
1 parent 56e6477 commit 2162ecee8fc9f7768279a23c3bc2637c40d9ea5b @dnagir committed Jan 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/its.rb
View
@@ -99,4 +99,4 @@ def its(attribute, *args, &block)
end
-RSpec::Core::ExampleGroup.send :extend, Its::ExampleGroupMethods
+RSpec.configure { |c| c.extend Its::ExampleGroupMethods }

0 comments on commit 2162ece

Please sign in to comment.