Sha256: 9c64fd4482454dc4b3b76bc9cb95bea38bd462891756fb169433f52fbdfebaef
Contents?: true
Size: 370 Bytes
Versions: 3
Compression:
Stored size: 370 Bytes
Contents
require_relative '../../spec_helper' require_relative '../../../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 = Reek::Context::RootContext.new(ast) expect(root.full_name).to eq('') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reek-3.4.0 | spec/reek/context/root_context_spec.rb |
reek-3.3.1 | spec/reek/context/root_context_spec.rb |
reek-3.3.0 | spec/reek/context/root_context_spec.rb |