Initial work on response constraints

This commit is contained in:
Michael Miller 2022-03-05 10:41:39 -07:00
parent de7cd90d11
commit 2adc867843
No known key found for this signature in database
GPG key ID: AC78B32D30CE34A2
7 changed files with 85 additions and 6 deletions

View file

@ -1,7 +1,7 @@
require "../../spec_helper"
Spectator.describe Spectator::Double do
subject(dbl) { Spectator::Double.new("foobar", foo: 42, bar: "baz") }
subject(dbl) { Spectator::Double({foo: Int32, bar: String}).new("foobar", foo: 42, bar: "baz") }
it "responds to defined messages" do
aggregate_failures do