Sha256: 112dc59d51794cfc7668c8bf2e6cd355105b7d78c3d02260210d7c48c8960a8f
Contents?: true
Size: 700 Bytes
Versions: 17
Compression:
Stored size: 700 Bytes
Contents
require 'cucumber/wire/connections' require 'cucumber/wire/configuration' module Cucumber module Wire describe Connections do describe "#step_matches" do it "returns the matches from each of the RemoteSteps" do connection1 = double(step_matches: [:a, :b]) connection2 = double(step_matches: [:c]) connections = Connections.new([connection1, connection2], double, double) expect(connections.step_matches('')).to eq [:a, :b, :c] end it "copes with no connections" do connections = Connections.new([], double, double) expect(connections.step_matches('')).to eq [] end end end end end
Version data entries
17 entries across 17 versions & 2 rubygems