Sha256: 1ff7431fd10e0b50607cada5772fd6e052db2dedfbe9f6f59b47747cf02746e5
Contents?: true
Size: 407 Bytes
Versions: 3
Compression:
Stored size: 407 Bytes
Contents
require_relative '../../spec_helper' require_relative '../../../lib/reek/context/root_context' RSpec.describe Reek::Context::RootContext do before :each do src = 'foo = 1' ast = Reek::Source::SourceCode.from(src).syntax_tree @root = Reek::Context::RootContext.new(ast) end context 'full_name' do it 'reports full context' do expect(@root.full_name).to eq('') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reek-3.2.1 | spec/reek/context/root_context_spec.rb |
reek-3.2 | spec/reek/context/root_context_spec.rb |
reek-3.1 | spec/reek/context/root_context_spec.rb |