mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Use before
instead of before_each
(same for after)
This commit is contained in:
parent
4906dfae0d
commit
a6149b2671
8 changed files with 28 additions and 28 deletions
|
@ -52,7 +52,7 @@ Spectator.describe "Explicit Subject" do
|
|||
describe Array(Int32) do # TODO: Multiple arguments to describe/context.
|
||||
subject { [] of Int32 }
|
||||
|
||||
before_each { subject.push(1, 2, 3) }
|
||||
before { subject.push(1, 2, 3) }
|
||||
|
||||
it "has the prescribed elements" do
|
||||
expect(subject).to eq([1, 2, 3])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue