Sha256: 69345a77413fa60501859533209bf8e72531ee2a4d08b9649b933f6fdea2ba51
Contents?: true
Size: 432 Bytes
Versions: 1
Compression:
Stored size: 432 Bytes
Contents
require_relative "../pact_helper" require "user_app/message_processor" module UserApp describe MessageProcessor, pact: true do let(:message) do Pact::Messages.get_message_sample("Message Provider", "Message Consumer", "User subscribed") end describe ".full_name" do it "joins first name and last name" do expect(described_class.full_name(message)).to eq("John Smith") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pact-messages-0.2.0 | example/user-app/spec/service_consumers/message_processor_spec.rb |