spec/integration/yard/arstotzka/reader_spec.rb in arstotzka-1.1.0 vs spec/integration/yard/arstotzka/reader_spec.rb in arstotzka-1.2.0
- old
+ new
@@ -2,12 +2,13 @@
require 'spec_helper'
describe Arstotzka::Reader do
describe 'yard' do
- subject(:reader) { described_class.new(keys: keys, case: case_type) }
+ subject(:reader) { described_class.new(full_path: full_path, case: case_type) }
let(:keys) { %w[person full_name] }
+ let(:full_path) { keys.join('.') }
let(:case_type) { :snake }
describe '#read' do
let(:hash) do
{