diff options
Diffstat (limited to 'spec/models/question_category_spec.rb')
-rw-r--r-- | spec/models/question_category_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/models/question_category_spec.rb b/spec/models/question_category_spec.rb new file mode 100644 index 0000000..08a18db --- /dev/null +++ b/spec/models/question_category_spec.rb @@ -0,0 +1,9 @@ +require 'spec_helper.rb' + +describe QuestionCategory do + include Permissions::TestPermissions + + it "should allow admin to do everything" do + allow_all Factory(:administrator), Factory(:question_category) + end +end |