Sha256: cfe93dba331c50bef530be903d888e04d9fb0190914f570696d378736451a859
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
Given(/^a configured spec\/spec_helper\.rb$/) do config = <<CONFIG require 'rspec-search-and-destroy' RSpec.configure do |config| RSpecSearchAndDestroy.configure(config) end CONFIG write_file("spec/spec_helper.rb", config ) end Then(/^the output should contain "(.*?)" (\d+) times?$/) do |expected_output, expected_count| actual_count = all_output.scan(expected_output).length expect(actual_count).to eql expected_count.to_i end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-search-and-destroy-0.0.4 | features/support/steps.rb |