Sha256: 1008b718d5a8695335afa0ddbae2470eb78cb0903b1333344fc44294e9328a2f
Contents?: true
Size: 335 Bytes
Versions: 2
Compression:
Stored size: 335 Bytes
Contents
if defined?(Cucumber) require 'shellwords' Before do set_env('SPEC_OPTS', "-r#{Shellwords.escape(__FILE__)}") end else RSpec.configure do |rspec| rspec.mock_with :rspec do |mocks| mocks.syntax = :expect end rspec.expect_with :rspec do |expectations| expectations.syntax = :expect end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rspec-core-3.0.0.beta2 | features/support/require_expect_syntax_in_aruba_specs.rb |
rspec-core-3.0.0.beta1 | features/support/require_expect_syntax_in_aruba_specs.rb |