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
Cyril Kato edited this page Nov 1, 2026
·
3 revisions
pending writes a line and runs nothing: its block, if any, is never evaluated, so it can hold what is not written yet.
require"r_spec"RSpec.describe"a pending example"dopending"is implemented but waiting"doexpect("something").toeq("getting finished")endpending"is not yet implemented and waiting"end
$ ruby spec/pending_spec.rbspec/pending_spec.rb:4: Pending: is implemented but waitingspec/pending_spec.rb:8: Pending: is not yet implemented and waiting