Skip to content

Instantly share code, notes, and snippets.

@janjiss
Created July 25, 2013 20:24
Show Gist options
  • Select an option

  • Save janjiss/6083402 to your computer and use it in GitHub Desktop.

Select an option

Save janjiss/6083402 to your computer and use it in GitHub Desktop.
describe Class do
before do
@kopejais = 1
end
context "Konteksts 1" do
before do
@konteksta_1_variablis = 2
end
it "should be 3" do
@kopejais + @konteksta_1_variablis.should == 3
end
end
context "Konteksts 2" do
before do
@konteksta_2_variablis = 3
end
it "should be 4" do
@kopejais + @konteksta_2_variablis.should == 4
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment