Update dag_link_spec.rb

Separate the spec of two methods.