macinnes / battleshift Goto Github PK
View Code? Open in Web Editor NEWThis project forked from turingschool-examples/battleshift
This project forked from turingschool-examples/battleshift
As a guest user
When I visit "/users"
Then I should see the user's name (for both users)
And I should see the user's email (for both users)
As a non-activated user
When I check my email for the registration email
Then I should see a unique API key to use for making API calls
As a non-activated user
When I check my email for the registration email
I should see a message that says "Visit here to activate your account."
And when I click on that link
Then I should be taken to a page that says "Thank you! Your account is now activated."
And when I visit "/dashboard"
Then I should see "Status: Active"
As a guest user
When I visit "/users"
And I click on Edit
for Josiah Bartlet
Then I should be on "/users/1/edit"
When I fill in the email field with "[email protected]"
And I click "Save"
Then I should be on "/users"
And I should see a flash message that says "Successfully updated Josiah Bartlet."
And I should should see Josiah Bartlet's email show up in the list as "[email protected]"
Background: There are two users stored in the database
As a guest user
When I visit "/users"
Then I should see the user's name (for both users)
And I should see the user's email (for both users)
As a guest user
When I visit "/"
And I click "Register"
Then I should be on "/register"
And when I fill in an email address (required)
And I fill in name (required)
And I fill in password and password confirmation (required)
And I click submit
Then I should be redirected to "/dashboard"
And I should see a message that says "Logged in as <SOME_NAME>"
And I should see "This account has not yet been activated. Please check your email."
API should only support changing a users's email address
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.