major restructuring/refactoring of application.js. finally scratched that itch. Some tests are failing to be fixed later.

This commit is contained in:
Reinier Balt 2010-11-25 23:29:32 +01:00
parent 88a524a8d6
commit 879fbc99e2
12 changed files with 606 additions and 642 deletions

View file

@ -22,6 +22,12 @@ Feature: View, add, remove notes
And I should see note "My Note A" on the notes page
Then the badge should show 1
Scenario: Link to note
Given I have a project "Pass Final Exam" with 1 note
When I visit the "Pass Final Exam" project
And I click the icon next to the note
Then I should see the note text
@selenium
Scenario: Delete note from notes page
Given I have a project "Pass Final Exam" with 2 notes
@ -30,16 +36,9 @@ Feature: View, add, remove notes
Then the first note should disappear
And the badge should show 1
@selenium
Scenario: Link to note
Given I have a project "Pass Final Exam" with 1 note
When I visit the "Pass Final Exam" project
And I click the icon next to the note
Then I should see the note text
@selenium
Scenario: Edit a note
Given I have a project "Pass Final Exam" with 2 notes
When I go to the notes page
And I edit the first note to "edited note"
Then I should see "edited note"
Then I should see "edited note"