Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.