a1dert/lh-tickets-test — Issue #267: User can directly change payment plan to locked for downgrade
Author: a1dert
Created: 2011-11-30 12:01:56+00:00
State: open
Labels: resolved, tracker

Imported from lighthouse. Original ticket at: http://redtape.lighthouseapp.com/projects/59696/tickets/333. Created by Alexey Derkach - 2011-06-22T11:06:21Z

Steps to reproduce:
1. Go to Settings page.
2. Set company payment plan to “Growing Fast”.
3. Go to Employees page.
4. Add more than 3 teams (3 team – is limit for “Start-up” payment plan)
5. Go to Settings page and open plan change page.
6. You can see that “Start-up” plan is locked for downgrade.
7. Replace html-block
@@@ html
Downgrade
@@@
with
@@@ html

Downgrade

@@@
where 3 - ID of "Start-up" payment plan.
8. Press “Downgrade”.

Expected: user can not downgrade payment plan if he reached limits.
Actual: payment plan is changed.

According to: [story 6634](https://tracker.anahoret.com/projects/44/stories/6634 "story 6634")