spec/reader/symbolmatrix_spec.rb in symbolmatrix-1.1.2 vs spec/reader/symbolmatrix_spec.rb in symbolmatrix-1.1.3
- old
+ new
@@ -36,11 +36,11 @@
Fast.dir.remove! :temp
end
end
end
- shared_examples_for "any serialization" do
+ shared_examples_for "any reader serialization" do
it 'should call merge! to source with the parsed data' do
the_sm = stub 'sm'
data_stub = stub 'data'
ready_to_merge = stub 'ready to merge'
reader = Reader::SymbolMatrix.new the_sm
@@ -50,15 +50,15 @@
end
end
describe "#serialization" do
before { @method = :serialization }
- it_behaves_like 'any serialization'
+ it_behaves_like 'any reader serialization'
end
describe '#smas' do
before { @method = :smas }
- it_behaves_like 'any serialization'
+ it_behaves_like 'any reader serialization'
end
end
describe SymbolMatrix do
it 'should include the Discoverer for Reader' do