Sha256: cc46c46cc0063d6a6bf3ba7a0dc6978b3c28f4747eee62cc2342afb2004d1c22

Contents?: true

Size: 353 Bytes

Versions: 17

Compression:

Stored size: 353 Bytes

Contents

require 'test/spec'

$foo = 0

context "Context First" do
  specify "runs before Second" do
    $foo.should.equal 0
    $foo += 1
  end
end

context "Context Second" do
  specify "runs before Last" do
    $foo.should.equal 1
    $foo += 1
  end
end

context "Context Last" do
  specify "runs last" do
    $foo.should.equal 2
    $foo += 1
  end
end

  

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
jordi-xml_struct-0.1.3 test/vendor/test-spec/test/spec_testspec_order.rb
jordi-xml_struct-0.2.0 test/vendor/test-spec/test/spec_testspec_order.rb
jordi-xml_struct-0.2.1 test/vendor/test-spec/test/spec_testspec_order.rb
nullstyle-test-spec-0.4.1 test/spec_testspec_order.rb
relevance-test-spec-0.4.0.5 test/spec_testspec_order.rb
relevance-test-spec-0.4.1.1 test/spec_testspec_order.rb
relevance-test-spec-0.4.1.2 test/spec_testspec_order.rb
relevance-test-spec-0.4.1 test/spec_testspec_order.rb
mofo-0.1.1 vendor/testspec-0.2.0/test/spec_testspec_order.rb
mofo-0.1.2 vendor/testspec-0.3.0/test/spec_testspec_order.rb
mofo-0.2.1 vendor/testspec-0.3.0/test/spec_testspec_order.rb
mofo-0.2.2 vendor/testspec-0.3.0/test/spec_testspec_order.rb
mofo-0.2 vendor/testspec-0.3.0/test/spec_testspec_order.rb
test-spec-0.10.0 test/spec_testspec_order.rb
test-spec-0.3.0 test/spec_testspec_order.rb
test-spec-0.4.0 test/spec_testspec_order.rb
test-spec-0.9.0 test/spec_testspec_order.rb