Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Aplicacoes basicas para estrutura de teste
describe "#to_s" do
it "use name" do
...
end
end
context "with status active" do
before { ... }
it "validate behavior" do
...
end
end
describe "#unlock" do
before(:each) { subject.name = "test" }
context "when is true" do
before { subject.status = true }
it "unlock data" do
...
end
endv
context "when is false" do
before { subject.status = fase }
it "release data" do
...
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.