Commit 82870e4c0c63c1a40f4da8f7ab1ad298edf26b40
1 parent
25126f2b
Exists in
master
and in
29 other branches
events_controller_test: fixed test logic
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/functional/events_controller_test.rb
| ... | ... | @@ -34,8 +34,8 @@ class EventsControllerTest < ActionController::TestCase |
| 34 | 34 | next_month = Date.today + 1.month |
| 35 | 35 | prev_month_name = prev_month.strftime("%B") |
| 36 | 36 | next_month_name = next_month.strftime("%B") |
| 37 | - assert_tag :tag =>'a', :attributes => {:href => "/profile/#{profile.identifier}/events/#{next_month.year}/#{prev_month.month}"}, :content => prev_month_name | |
| 38 | - assert_tag :tag =>'a', :attributes => {:href => "/profile/#{profile.identifier}/events/#{prev_month.year}/#{next_month.month}"}, :content => next_month_name | |
| 37 | + assert_tag :tag =>'a', :attributes => {:href => "/profile/#{profile.identifier}/events/#{prev_month.year}/#{prev_month.month}"}, :content => prev_month_name | |
| 38 | + assert_tag :tag =>'a', :attributes => {:href => "/profile/#{profile.identifier}/events/#{next_month.year}/#{next_month.month}"}, :content => next_month_name | |
| 39 | 39 | end |
| 40 | 40 | |
| 41 | 41 | end | ... | ... |