Permalink
Browse files

RSpec.tmbundle always defines `RSpec`. Being more specific to avoid f…

…alse positives
  • Loading branch information...
1 parent 1299e2e commit 0267a63514c82de033c499cbe5719ef3a18cf16b @cavalle committed Nov 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/steak.rb
View
2 lib/steak.rb
@@ -4,7 +4,7 @@
require 'spec'
end
-if defined?(RSpec)
+if defined?(RSpec::Core)
require 'rspec-2/steak'
else
require 'rspec-1/steak'

0 comments on commit 0267a63

Please sign in to comment.