Sha256: 75029cbdbaca95fb0b3eea82887c709a24f490164638bf60c05fec521f33cb40

Contents?: true

Size: 290 Bytes

Versions: 23

Compression:

Stored size: 290 Bytes

Contents

require_relative '../../spec_helper'

require_lib 'reek/errors/base_error'

RSpec.describe Reek::Errors::BaseError do
  let(:error) { described_class.new }

  describe '#long_message' do
    it 'returns the message' do
      expect(error.long_message).to eq error.message
    end
  end
end

Version data entries

23 entries across 21 versions & 2 rubygems

Version Path
reek-6.0.3 spec/reek/errors/base_error_spec.rb
reek-6.0.2 spec/reek/errors/base_error_spec.rb
reek-6.0.1 spec/reek/errors/base_error_spec.rb
reek-6.0.0 spec/reek/errors/base_error_spec.rb
reek-5.6.0 spec/reek/errors/base_error_spec.rb
reek-5.5.0 spec/reek/errors/base_error_spec.rb
reek-5.4.1 spec/reek/errors/base_error_spec.rb
reek-5.4.0 spec/reek/errors/base_error_spec.rb
reek-5.3.2 spec/reek/errors/base_error_spec.rb
reek-5.3.1 spec/reek/errors/base_error_spec.rb
reek-5.3.0 spec/reek/errors/base_error_spec.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/spec/reek/errors/base_error_spec.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/spec/reek/errors/base_error_spec.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/spec/reek/errors/base_error_spec.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/spec/reek/errors/base_error_spec.rb
reek-5.2.0 spec/reek/errors/base_error_spec.rb
reek-5.1.0 spec/reek/errors/base_error_spec.rb
reek-5.0.2 spec/reek/errors/base_error_spec.rb
reek-5.0.1 spec/reek/errors/base_error_spec.rb
reek-5.0.0 spec/reek/errors/base_error_spec.rb