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
waterpig-0.9.0 spec_help/gem_test_suite.rb
waterpig-0.8.1 spec_help/gem_test_suite.rb
waterpig-0.8.0 spec_help/gem_test_suite.rb
rhet-butler-0.13.0 spec_support/gem_test_suite.rb
waterpig-0.7.0 spec_help/gem_test_suite.rb
fluoride-collector-0.0.11 spec_help/gem_test_suite.rb
waterpig-0.6.1 spec_help/gem_test_suite.rb
waterpig-0.6.0 spec_help/gem_test_suite.rb
valise-1.1.4 spec_help/gem_test_suite.rb
valise-1.1.3 spec_help/gem_test_suite.rb
fluoride-analyzer-0.0.8 spec-help/gem-test-suite.rb
fluoride-analyzer-0.0.7 spec-help/gem-test-suite.rb
fluoride-analyzer-0.0.6 spec-help/gem-test-suite.rb
fluoride-analyzer-0.0.5 spec-help/gem-test-suite.rb
fluoride-analyzer-0.0.4 spec-help/gem-test-suite.rb
fluoride-analyzer-0.0.3 spec-help/gem-test-suite.rb
fluoride-collector-0.0.10 spec_help/gem_test_suite.rb
waterpig-0.5.0 spec_help/gem_test_suite.rb
rspec-steps-1.0.7 spec_help/gem_test_suite.rb
waterpig-0.4.0 spec_help/gem_test_suite.rb