Module: Turnip::RSpec
- Defined in:
- lib/turnip/rspec.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.run(feature_file) ⇒ Object
76 77 78 79 80 81 82 83 84 85 |
# File 'lib/turnip/rspec.rb', line 76 def run(feature_file) feature = Turnip::Builder.build(feature_file) return nil if feature.nil? instance_eval <<-EOS, feature_file, feature.line context = ::RSpec.describe feature.name, feature.metadata_hash run_scenario_group(context, feature, feature_file) EOS end |