Sha256: fee8aa41ecef901292f49904338408c6dc1ff99cc13ff86633ea889c11f8a465

Contents?: true

Size: 797 Bytes

Versions: 1

Compression:

Stored size: 797 Bytes

Contents

require_relative '../opal_rspec_spec_loader'

module Opal
  module RSpec
    module SupportSpecLoader
      extend Opal::RSpec::OpalRSpecSpecLoader

      def self.expected_pending_count
        0
      end

      def self.base_dir
        'spec/rspec/support'
      end

      def self.files_with_line_continue
        [/support\/method_signature_verifier_spec.rb/]
      end

      def self.spec_glob
        %w{rspec-support/spec/**/*_spec.rb}
      end

      def self.stubbed_requires
        [
            'rubygems',
            'rspec/support/spec/shell_out', # only does stuff Opal can't support anyways,
            'spec', # we have our own version of this in spec_helper that's compatible
            'simplecov', # hooks aren't available on Opal
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opal-rspec-0.5.0.beta3 spec/rspec/support/support_spec_loader.rb