Permalink
Browse files

Merge pull request #75 from dasch/restricted-include

Only include modules in Turnip specs
  • Loading branch information...
2 parents 822ef63 + 7404d18 commit 9e7d2a92cdece68bbfad3019292aa2a4d7192637 @jnicklas committed Sep 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/turnip/rspec.rb
View
@@ -82,7 +82,7 @@ def run(feature_file)
::RSpec::Core::Configuration.send(:include, Turnip::RSpec::Loader)
::RSpec.configure do |config|
- config.include Turnip::RSpec::Execute
- config.include Turnip::Steps
+ config.include Turnip::RSpec::Execute, turnip: true
+ config.include Turnip::Steps, turnip: true
config.pattern << ",**/*.feature"
end

0 comments on commit 9e7d2a9

Please sign in to comment.