Created
March 5, 2015 20:51
-
-
Save tinney/fe8355b63989047ca382 to your computer and use it in GitHub Desktop.
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
Given /^I have a rubric$/ do | |
my.rubric = repository.rubric | |
end | |
Given /^I have a locked rubric$/ do | |
my.rubric = repository.rubric | |
my.rubric_components << repository.rubric_component | |
my.rubric_components << repository.rubric_component | |
my.course = repository.course | |
my.question = repository.question(type: :essay, rubric: my.rubric) | |
my.assessment_template = repository.assessment_template | |
my.assessment = repository.assessment | |
my.assessment_template_question = repository.assessment_template_question | |
repository.assessment_response repository.student | |
my.assessment_template_question.reload | |
my.rubric.reload.should be_locked | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment