features/testing.feature in captain_hoog-1.1.1 vs features/testing.feature in captain_hoog-2.0.0

- old
+ new

@@ -4,10 +4,19 @@ I want to have the possibility to test my hook plugins Scenario: Testing a hook plugin with RSpec Given I wrote a spec "divide_spec" containing: """ + require 'bundler' + require 'bundler/inline' + + gemfile do + gem 'captain_hoog', path: File.expand_path('../../..', __FILE__) + gem 'rspec' + gem 'minitest' + end + require 'rspec' require 'captain_hoog/test' describe 'Test for hook' do let(:divide) do @@ -58,9 +67,18 @@ Then I should see the test is passing with "3" example and "0" failures Scenario: Testing a hook plugin with Minitest Given I wrote a test "divide_test" containing: """ + require 'bundler' + require 'bundler/inline' + + gemfile do + gem 'captain_hoog', path: File.expand_path('../../..', __FILE__) + gem 'rspec' + gem 'minitest' + end + gem 'minitest' require 'minitest/autorun' require 'minitest/unit' require 'captain_hoog' require 'captain_hoog/test'