- basic_authorization create(:user).email, "test"
- get :version, :params => { :id => way_v1.way_id, :version => way_v1.version }
- get :history, :params => { :id => way_v1.way_id }
+ auth_header = basic_authorization_header create(:user).email, "test"
+ get way_version_path(:id => way_v1.way_id, :version => way_v1.version), :headers => auth_header
+ get api_way_history_path(:id => way_v1.way_id), :headers => auth_header