HuntersKeepers
HuntersKeepers copied to clipboard
Create Feature Specs for Move
Describe the Feature
Is your feature request related to a problem? Please describe. Feature specs are a great way to ensure your app is functioning correctly. We didn't build feature specs from the beginning so now we need to play a little bit of catch up. This issue will cover the index, new, edit, and show page for Moves.
Additional context We use Capybara for our feature specs and rspec to run everything. We store our spec based on the first page visited. If you're creating a spec to test updating a move, you'd place it inside the edit spec, because you start on th form. In the same way, deleting would be split across edit, show, and index, based on which page you started on.
Describe the Technical Implementation of the Solution
Solution Craete four new specs, one for each page under moves.
References Capybara Docs RSpec Docs