You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test will allow us to do more complex flows and support a better testing structure.
The proposed syntax: instead of with, we'll use sequentially, and instead of setup we'll use step, like this:
sequentially "an integration test" do
step "description of step one" do
assign do_something_to: :context
end
should_have_key :do_something_to
step "description of step two" do
assign do_something_else_to :context
end
should_have_key :do_something_else_to
end
The text was updated successfully, but these errors were encountered:
shouldi tests follow the pattern of:
We would also like to allow tests with the following format:
This test will allow us to do more complex flows and support a better testing structure.
The proposed syntax: instead of
with
, we'll usesequentially
, and instead ofsetup
we'll usestep
, like this:The text was updated successfully, but these errors were encountered: