Skip to content

Commit

Permalink
Merge branch 'MDL-43480_master' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jan 21, 2014
2 parents ad1ad9f + 561e9bb commit b7623bc
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 20 deletions.
2 changes: 1 addition & 1 deletion admin/tests/behat/upload_users.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_admin @_only_local
@core @core_admin @_file_upload
Feature: Upload users
In order to add users to the system
As an admin
Expand Down
2 changes: 1 addition & 1 deletion admin/tool/behat/tests/behat/data_generators.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@tool @tool_behat @_only_local
@tool @tool_behat
Feature: Set up contextual data for tests
In order to write tests quickly
As a developer
Expand Down
6 changes: 6 additions & 0 deletions admin/tool/behat/upgrade.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This files describes API changes in the assign code.

=== 2.7 ===

* @_only_local tag used in .feature files replaced by @_file_upload tag
* @_alerts tag used in .feature files replaced by @_alert tag
2 changes: 1 addition & 1 deletion admin/tool/uploadcourse/tests/behat/create.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@tool @tool_uploadcourse @_only_local
@tool @tool_uploadcourse @_file_upload
Feature: An admin can create courses using a CSV file
In order to create courses using a CSV file
As an admin
Expand Down
2 changes: 1 addition & 1 deletion admin/tool/uploadcourse/tests/behat/update.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@tool @tool_uploadcourse @_only_local
@tool @tool_uploadcourse @_file_upload
Feature: An admin can update courses using a CSV file
In order to update courses using a CSV file
As an admin
Expand Down
2 changes: 1 addition & 1 deletion badges/tests/behat/add_badge.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_badges @_only_local
@core @core_badges @_file_upload
Feature: Add badges to the system
In order to give badges to users for their achievements
As an admin
Expand Down
2 changes: 1 addition & 1 deletion badges/tests/behat/award_badge.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_badges @_only_local
@core @core_badges @_file_upload
Feature: Award badges
In order to award badges to users for their achievements
As an admin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@block @block_activity_modules @_only_local
@block @block_activity_modules
Feature: Block activity modules
In order to overview activity modules in a course
As a manager
Expand All @@ -13,7 +13,7 @@ Feature: Block activity modules
And I click on "//a[@title=\"Show\"]" "xpath_element" in the "Feedback" "table_row"

Scenario: Add activities block on the frontpage
And the following "activities" exists:
Given the following "activities" exists:
| activity | name | intro | course | idnumber |
| assign | Frontpage assignment name | Frontpage assignment description | Acceptance test site | assign0 |
| book | Frontpage book name | Frontpage book description | Acceptance test site | book0 |
Expand Down
2 changes: 1 addition & 1 deletion cohort/tests/behat/upload_cohort_users.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_cohort @_only_local
@core @core_cohort @_file_upload
Feature: Upload users to a cohort
In order to quickly fill site-wide groups with users
As an admin
Expand Down
2 changes: 1 addition & 1 deletion course/tests/behat/course_controls.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_course @_alerts
@core @core_course @_alert
Feature: Course activity controls works as expected
In order to manage my course's activities
As a teacher
Expand Down
2 changes: 1 addition & 1 deletion files/tests/behat/course_files.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_files @_only_local
@core @core_files
Feature: Course files
In order to add legacy files
As a user
Expand Down
2 changes: 1 addition & 1 deletion group/tests/behat/groups_import.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_group @_only_local
@core @core_group @_file_upload
Feature: Importing of groups and groupings
In order to import groups and grouping
As a teacher
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/tests/behat/file_submission.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@mod @mod_assign @_only_local
@mod @mod_assign @_file_upload
Feature: In an assignment, students can upload files for assessment
In order to complete my assignments providing files
As a student
Expand Down
2 changes: 1 addition & 1 deletion mod/scorm/tests/behat/add_scorm.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@mod @mod_scorm @_only_local @_switch_frame
@mod @mod_scorm @_file_upload @_switch_frame
Feature: Add scorm activity
In order to let students access a scorm package
As a teacher
Expand Down
2 changes: 1 addition & 1 deletion repository/recent/tests/behat/add_recent.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@repository @repository_recent @_only_local
@repository @repository_recent @_file_upload
Feature: Recent files repository lists the recently used files
In order to save time when selecting files
As a user
Expand Down
2 changes: 1 addition & 1 deletion repository/tests/behat/cancel_add_file.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_filepicker @_only_local
@core @core_filepicker @_file_upload
Feature: A selected file can be cancelled
In order to refine the file manager contents
As a user
Expand Down
2 changes: 1 addition & 1 deletion repository/tests/behat/create_shortcut.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_filepicker @repository @repository_user @_only_local
@core @core_filepicker @repository @repository_user @_file_upload
Feature: Create shortcuts
In order to automatically synchronize copies of the file with the source
As a teacher
Expand Down
2 changes: 1 addition & 1 deletion repository/tests/behat/delete_files.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_filepicker @_only_local
@core @core_filepicker @_file_upload
Feature: Delete files and folders from the file manager
In order to clean the file manager contents
As a user
Expand Down
2 changes: 1 addition & 1 deletion repository/tests/behat/overwrite_file.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@core @core_filepicker @_only_local
@core @core_filepicker @_file_upload
Feature: Overwrite file feature
In order to update an existing file
As a user
Expand Down
2 changes: 1 addition & 1 deletion repository/upload/tests/behat/upload_file.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@repository @repository_upload @_only_local
@repository @repository_upload @_file_upload
Feature: Upload files
In order to add contents
As a user
Expand Down

0 comments on commit b7623bc

Please sign in to comment.