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