spec/specs.rb in opal-spec-0.2.12 vs spec/specs.rb in opal-spec-0.2.13

- old
+ new

@@ -86,6 +86,24 @@ end it "should run multiple before blocks" do @bar.should == 200 end + + describe "nested" do + before { @nested = 300 } + + it "should inherit before blocks" do + @foo.should eq(100) + end + + it "should also run nested before blocks" do + @nested.should eq(300) + end + end +end + +describe "pending" do + pending "these tests are not run" do + raise "otherwise this error would be raised" + end end