Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature spec for creating a new match #92

Merged
merged 6 commits into from
Oct 10, 2014
Merged

Conversation

salimhb
Copy link
Member

@salimhb salimhb commented Sep 30, 2014

id attributes for input fields have to be manually set to make them unique. This helps writing the tests and abides to html rules of not having different elements with the same id.

@stephanpavlovic
Copy link
Member

Could you add specs for the error case descripted in #55 so we can start fixing it :)

let!(:player3) { FactoryGirl.create(:user, name: 'Player 3', league: league) }
let!(:player4) { FactoryGirl.create(:user, name: 'Player 4', league: league) }

it 'with 4 players' do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use scenario instead of it in feature specs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

stephanpavlovic added a commit that referenced this pull request Oct 10, 2014
Feature spec for creating a new match
@stephanpavlovic stephanpavlovic merged commit b8e13ba into master Oct 10, 2014
@stephanpavlovic stephanpavlovic deleted the spec_new_match branch October 10, 2014 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants