Sha256: 822e510a9bc69de131fe77a1b674b49f8e31d3d814256c8c9b8aae5b54352bcf

Contents?: true

Size: 281 Bytes

Versions: 6

Compression:

Stored size: 281 Bytes

Contents

require 'open3'

describe 'rubocop' do
  it 'has no offenses' do
    command = self.class.description
    stdout, stderr, status = Open3.capture3('bundle', 'exec', command)
    output = (stderr.size > 0) ? stderr : stdout

    expect(status.success?).to eq(true), output
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
makandra-rubocop-3.2.1 lib/makandra_rubocop/support/rubocop_spec.rb
makandra-rubocop-3.2.0 lib/makandra_rubocop/support/rubocop_spec.rb
makandra-rubocop-3.1.0 lib/makandra_rubocop/support/rubocop_spec.rb
makandra-rubocop-3.0.0 lib/makandra_rubocop/support/rubocop_spec.rb
makandra-rubocop-2.0.0 lib/makandra_rubocop/support/rubocop_spec.rb
makandra-rubocop-1.0.0 lib/makandra_rubocop/support/rubocop_spec.rb