Class: RSpecTest
- Inherits:
-
Test::Unit::TestCase
- Object
- Test::Unit::TestCase
- RSpecTest
- Defined in:
- spec_help/gem_test_suite.rb,
pkg/mattock-0.1.0/spec_help/gem_test_suite.rb,
pkg/mattock-0.1.3/spec_help/gem_test_suite.rb,
pkg/mattock-0.2.2/spec_help/gem_test_suite.rb,
pkg/mattock-0.1.1/spec_help/gem_test_suite.rb,
pkg/mattock-0.1.2/spec_help/gem_test_suite.rb,
pkg/mattock-0.2.1/spec_help/gem_test_suite.rb,
pkg/mattock-0.2.0/spec_help/gem_test_suite.rb,
pkg/mattock-0.0.1/spec_help/gem_test_suite.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) test_that_rspec_is_available
10 11 12 |
# File 'spec_help/gem_test_suite.rb', line 10 def test_that_rspec_is_available assert_nothing_raised("\n\n * RSpec isn't available - please run: gem install rspec *\n\n"){ ::Spec } end |
- (Object) test_that_specs_pass
14 15 16 |
# File 'spec_help/gem_test_suite.rb', line 14 def test_that_specs_pass assert(system(*%w{spec -f e -p **/*.rb spec}),"\n\n * Specs failed *\n\n") end |