Project

General

Profile

Revision e2c07325

Added by Adam Price about 8 years ago

rubocop - Lint/AmbiguousOperator

View differences:

test/helpers/resource_disabled.rb
6 6
  def with_params(params, &block)
7 7
    context "with params "+params.to_s do
8 8
      let(:with_params) { params }
9
      self.instance_eval &block
9
      self.instance_eval(&block)
10 10
    end
11 11
  end
12 12

  
13 13
  def it_should_call_action(action, params)
14
    it "should call action "+action.to_s do
14
    it "should call action " + action.to_s do
15 15
      arguments ||= respond_to?(:with_params) ? with_params : []
16 16
      cmd.resource.resource_class.expects_with(action, params)
17 17
      cmd.run(arguments)

Also available in: Unified diff