- basic_authorization create(:user).email, "test"
- get :version, :params => { :id => relation_v1.relation_id, :version => relation_v1.version }
- get :history, :params => { :id => relation_v1.relation_id }
+ auth_header = basic_authorization_header create(:user).email, "test"
+ get relation_version_path(:id => relation_v1.relation_id, :version => relation_v1.version), :headers => auth_header
+ get api_relation_history_path(:id => relation_v1.relation_id), :headers => auth_header