Sha256: 548d493383d12b014e7db3bbc66fd59499a5953cb463b62258d974421364ebd5

Contents?: true

Size: 341 Bytes

Versions: 15

Compression:

Stored size: 341 Bytes

Contents

require_relative '../../spec_helper'
require_lib 'reek/context/root_context'

RSpec.describe Reek::Context::RootContext do
  context 'full_name' do
    it 'reports full context' do
      ast = Reek::Source::SourceCode.from('foo = 1').syntax_tree
      root = described_class.new(ast)
      expect(root.full_name).to eq('')
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
reek-4.7.3 spec/reek/context/root_context_spec.rb
reek-4.7.2 spec/reek/context/root_context_spec.rb
reek-4.7.1 spec/reek/context/root_context_spec.rb
reek-4.7.0 spec/reek/context/root_context_spec.rb
reek-4.6.2 spec/reek/context/root_context_spec.rb
reek-4.6.1 spec/reek/context/root_context_spec.rb
reek-4.6.0 spec/reek/context/root_context_spec.rb
reek-4.5.6 spec/reek/context/root_context_spec.rb
reek-4.5.5 spec/reek/context/root_context_spec.rb
reek-4.5.4 spec/reek/context/root_context_spec.rb
reek-4.5.3 spec/reek/context/root_context_spec.rb
reek-4.5.2 spec/reek/context/root_context_spec.rb
reek-4.5.1 spec/reek/context/root_context_spec.rb
reek-4.5.0 spec/reek/context/root_context_spec.rb
reek-4.4.2 spec/reek/context/root_context_spec.rb