Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Migrate calendars controller test.rb #434

Merged
merged 9 commits into from
Sep 18, 2013

Conversation

hschink
Copy link
Contributor

@hschink hschink commented Sep 16, 2013

Implements ticket 2057

@ulferts
Copy link
Contributor

ulferts commented Sep 17, 2013

Travis doesn't like it:

Failing Scenarios:

cucumber features/projects/show.feature:29 # Scenario: Calendar link in the 'tickets box' should work when calendar is activated

@@ -206,10 +206,6 @@
# work as a catchall for everything under /wiki
get 'wiki' => "wiki#show"

namespace :issues do
resources :calendar, :controller => 'calendars', :only => [:index]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You deleted the route for

/projects/:project_id/issues/calendar

and added one for

/work_packages/calendar

There is still a route defined for

/issues/calendar

while the one for

/projects/:project_id/work_packages/calendar

is missing. The test for that route is missing, too.

This results in the url for the calendar menu entry beeing displayed as e.g.

/work_packages/calendar?project_id=openproject

@ulferts
Copy link
Contributor

ulferts commented Sep 18, 2013

There is an occurrence of "issues/calendar" in app/views/welcome/robots.text.erb

While this file appears to be maintained less good, this is a chance to get better.

@ulferts
Copy link
Contributor

ulferts commented Sep 18, 2013

Works as expected, otherwise.

Fix the points mentioned and give me a ping. I will merge it.

@hschink
Copy link
Contributor Author

hschink commented Sep 18, 2013

@ulferts Thanks for the hint! You seem to see everything! 🔍 And yeah, 🔔 PING!

ulferts added a commit that referenced this pull request Sep 18, 2013
…_test.rb

[FEATURE] Migrate calendars controller test.rb
@ulferts ulferts merged commit 2a25ab7 into feature/rails3 Sep 18, 2013
@ulferts ulferts deleted the feature/migrate_calendars_controller_test.rb branch September 18, 2013 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants