> > it "should pass again" do
> > context "a::b" do
>
> You can't wrap contexts inside examples.
Cool thanks for the reply.
The confusing part is that it allowed me to have that context within
an example.
Maybe a more explicit failure for newbies when they do this would be
kind.
-r
__
On Jul 20, 2010, at 1:07 PM, rogerdpack wrote:
> Hi all. Noticed that with rspec 1.x
>
> methods at "higher levels" aren't available in lower, ex:
>
> context "a" do
> def go
> end
>
> it "should pass" do
>go
> end
>
> it "should pass again" do
> context "a::b" do
You can't wrap conte
Hi all. Noticed that with rspec 1.x
methods at "higher levels" aren't available in lower, ex:
context "a" do
def go
end
it "should pass" do
go
end
it "should pass again" do
context "a::b" do
go
end
end
end
This surprised me a bit, making re-use of outer methods unavail