Sha256: e75b5e4c59c3b64ddf405a7579aec31dd44c38a314c9061ccf99d2fbd620daac

Contents?: true

Size: 394 Bytes

Versions: 274

Compression:

Stored size: 394 Bytes

Contents

puts Dir::pwd
require 'test/unit'
begin
  require 'spec'
rescue LoadError
  false
end

class RSpecTest < Test::Unit::TestCase
  def test_that_rspec_is_available
    assert_nothing_raised("\n\n *  RSpec isn't available - please run: gem install rspec  *\n\n"){ ::Spec }
  end

  def test_that_specs_pass
    assert(system(*%w{spec -f e -p **/*.rb spec}),"\n\n *  Specs failed  *\n\n")
  end
end

Version data entries

274 entries across 274 versions & 26 rubygems

Version Path
rhet-butler-0.14.1 spec_support/gem_test_suite.rb
rhet-butler-0.14.0 spec_support/gem_test_suite.rb
corundum-0.6.3 spec_help/gem_test_suite.rb
calibrate-0.0.2 spec_help/gem_test_suite.rb
xing-framework-1.0.0.pre.beta.1 spec_help/gem_test_suite.rb
diecut-0.0.5 gem_test_suite.rb
diecut-0.0.4 gem_test_suite.rb
xing-framework-1.0.0.pre.beta spec_help/gem_test_suite.rb
xing-framework-1.0.0.pre.alpha spec_help/gem_test_suite.rb
xing-backend-specdoc-1.0.0.pre.beta spec_help/gem_test_suite.rb
xing-dev-assets-1.0.0.pre.beta spec_help/gem_test_suite.rb
diecut-0.0.3 gem_test_suite.rb
xing-framework-0.3.2 spec_help/gem_test_suite.rb
cadre-1.0.4 spec_help/gem_test_suite.rb
xing-framework-0.3.1 spec_help/gem_test_suite.rb
diecut-0.0.2 gem_test_suite.rb
diecut-0.0.1 gem_test_suite.rb
cadre-1.0.3 spec_help/gem_test_suite.rb
xing-framework-0.3.0 spec_help/gem_test_suite.rb
xing-framework-0.2.9 spec_help/gem_test_suite.rb