forked from saasbook/coursequestionbank
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
72 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Feature: Export a collection | ||
As an instructor | ||
So I can publish a quiz | ||
I want to be export a collection | ||
|
||
Background: | ||
Given I am signed in with uid "1234" and provider "github" | ||
And I have uploaded 'micro_quizzes.txt' | ||
And I am on the dashboard | ||
|
||
Scenario: Export a quiz successfully | ||
When I follow "1/22/15 (W1 L2)" | ||
And I follow "export button" | ||
Then I should see "1/22/15 (W1 L2)" | ||
|
||
Scenario: Export a quiz unsuccessfully | ||
When I follow "start a new collection" | ||
And I fill in "collection_name" with "yolo" | ||
And I press "Create Collection" | ||
Then I should be on the dashboard | ||
And I follow "yolo" | ||
And I follow "export button" | ||
Then I should see "Cannot export an empty collection! Add some questions to your collection" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -228,4 +228,4 @@ quiz '3/7 version control' do | |
end | ||
|
||
|
||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters