Skip to content

Instantly share code, notes, and snippets.

@stevo
Created January 14, 2018 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevo/aef738fb9a4180cf485bcb977b303b3c to your computer and use it in GitHub Desktop.
Save stevo/aef738fb9a4180cf485bcb977b303b3c to your computer and use it in GitHub Desktop.
# 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