mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove double_dsl_spec
This commit is contained in:
parent
70787ce2d4
commit
5d21e4bb71
1 changed files with 0 additions and 15 deletions
|
@ -1,15 +0,0 @@
|
||||||
require "../../spec_helper"
|
|
||||||
|
|
||||||
Spectator.describe "Double DSL" do
|
|
||||||
double(:foo, foo: 42, bar: "baz") do
|
|
||||||
end
|
|
||||||
|
|
||||||
let(dbl) { double(:foo) }
|
|
||||||
|
|
||||||
specify do
|
|
||||||
expect(dbl.foo).to eq(42)
|
|
||||||
expect(dbl.bar).to eq("baz")
|
|
||||||
expect(dbl.foo).to compile_as(Int32)
|
|
||||||
expect(dbl.bar).to compile_as(String)
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Reference in a new issue