Sha256: 42533846272815b993e392893c34ad758f2f077e5bd1bfcca1a1ddeb45585914

Contents?: true

Size: 198 Bytes

Versions: 9

Compression:

Stored size: 198 Bytes

Contents

module RSpec
  RSpec.describe Mocks do
    it "does not inadvertently define BasicObject on 1.8", :if => RUBY_VERSION.to_f < 1.9 do
      expect(defined?(::BasicObject)).to be nil
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
opal-rspec-0.6.2 rspec-mocks/spec/rspec/mocks/syntax_spec.rb
opal-rspec-0.6.1 rspec-mocks/spec/rspec/mocks/syntax_spec.rb
opal-rspec-0.6.0 rspec-mocks/spec/rspec/mocks/syntax_spec.rb
opal-rspec-0.6.0.beta1 rspec-mocks/spec/rspec/mocks/syntax_spec.rb
opal-connect-rspec-0.5.0 rspec-mocks/spec/rspec/mocks/syntax_spec.rb
opal-rspec-0.5.0 rspec-mocks/spec/rspec/mocks/syntax_spec.rb
opal-rspec-0.5.0.beta3 rspec-mocks/spec/rspec/mocks/syntax_spec.rb
opal-rspec-0.5.0.beta2 rspec-mocks/spec/rspec/mocks/syntax_spec.rb
opal-rspec-0.5.0.beta1 rspec-mocks/spec/rspec/mocks/syntax_spec.rb