Sha256: b34071fe189f63c54516ed82c7952526f5934b206b895cb14d53bb7792b55620

Contents?: true

Size: 564 Bytes

Versions: 22

Compression:

Stored size: 564 Bytes

Contents

require 'spec/version'
require 'spec/matchers'
require 'spec/expectations'
require 'spec/example'
require 'spec/extensions'
require 'spec/runner'

if Object.const_defined?(:Test); \
  require 'spec/interop/test'; \
end

module Spec
  class << self
    def run?
      @run || rspec_options.examples_run?
    end

    def run; \
      return true if run?; \
      result = rspec_options.run_examples; \
      @run = true; \
      result; \
    end
    attr_writer :run
    
    def exit?; \
      !Object.const_defined?(:Test) || Test::Unit.run?; \
    end
  end
end

Version data entries

22 entries across 22 versions & 5 rubygems

Version Path
picolena-0.0.99 app_generators/picolena/templates/vendor/plugins/rspec/lib/spec.rb
picolena-0.1.0 rails_plugins/rspec/lib/spec.rb
picolena-0.1.1 rails_plugins/rspec/lib/spec.rb
picolena-0.1.4 rails_plugins/rspec/lib/spec.rb
picolena-0.1.3 rails_plugins/rspec/lib/spec.rb
picolena-0.1.2 rails_plugins/rspec/lib/spec.rb
picolena-0.1.5 rails_plugins/rspec/lib/spec.rb
radiant-0.6.5.1 vendor/plugins/rspec/lib/spec.rb
radiant-0.6.5 vendor/plugins/rspec/lib/spec.rb
radiant-0.6.7 vendor/plugins/rspec/lib/spec.rb
radiant-0.6.6 vendor/plugins/rspec/lib/spec.rb
radiant-0.6.8 vendor/plugins/rspec/lib/spec.rb
radiant-0.6.9 vendor/plugins/rspec/lib/spec.rb
rspec-1.1.3 lib/spec.rb
rspec-1.1.4 lib/spec.rb
spree-0.2.0 vendor/plugins/rspec/lib/spec.rb
typo-5.0.3.98.1 vendor/plugins/rspec/lib/spec.rb
typo-5.0.3.98 vendor/plugins/rspec/lib/spec.rb
typo-5.1.1 vendor/plugins/rspec/lib/spec.rb
typo-5.1.2 vendor/plugins/rspec/lib/spec.rb