Sha256: 77f8b127a2c90d402333541573cbf70b53a46e16c92a9f33f0b11d7d524cd4b7

Contents?: true

Size: 402 Bytes

Versions: 7

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

require 'pry-byebug'

module SpecHelpers
  module SetMonkeyAction
    def force_action(action)
      @action = action
    end
  end
end

# Use :should in stead of :expect
RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :should
  end
  config.mock_with :rspec do |c|
    c.syntax = :should
  end
  # config.raise_errors_for_deprecations!
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
MonkeyEngine-2.0.7 spec/spec_helper.rb
MonkeyEngine-2.0.6 spec/spec_helper.rb
MonkeyEngine-2.0.5 spec/spec_helper.rb
MonkeyEngine-2.0.4 spec/spec_helper.rb
MonkeyEngine-2.0.3 spec/spec_helper.rb
MonkeyEngine-2.0.2 spec/spec_helper.rb
MonkeyEngine-2.0.1 spec/spec_helper.rb