Reputation: 2259
I think there was a command to declare a whole example group in rspec (rails) to be pending
I believe it was something like before {pending}
, but I cannot find it any more.
Does anybody know how you can achieve this?
context "Group1" do
before { pending }
it "example1" do
end
it "example2" do
end
it "example3" do
end
end
Upvotes: 0
Views: 42
Reputation: 2385
Simple replace descibe or context with pending
pending "Group1" do
before { pending }
it "example1" do
end
it "example2" do
end
it "example3" do
end
end
Upvotes: 0
Reputation: 96484
pending "Group1" do
it "example1" do
end
it "example2" do
end
it "example3" do
end
end
Upvotes: 1