Created
January 14, 2018 12:56
-
-
Save stevo/aef738fb9a4180cf485bcb977b303b3c 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
# Feature specs are used to test validation and authorization details, when those | |
# should be handled in faster, lower level specs (i.e. model & controller specs) | |
RSpec.describe 'Properties management', type: :feature do | |
scenario 'Admin creates a property' | |
scenario 'Admin attempts to create a property with missing name' | |
scenario 'Admin attempts to create a property with name which is too short' | |
scenario 'Admin attempts to create a property with duplicate name' | |
scenario 'Guest attempts to create a property' | |
scenario 'Regular user attempts to create a property' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment