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

Model class specs #8

Merged
merged 2 commits into from
Nov 25, 2015
Merged

Model class specs #8

merged 2 commits into from
Nov 25, 2015

Conversation

WojciechKo
Copy link
Contributor

No description provided.


describe 'finish_date' do
it 'is presence' do
expect(build(:desk, finish_at: nil)).to_not be_valid
Copy link
Member

Choose a reason for hiding this comment

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

I think .not_to be_valid sounds better than .to_not be_valid :)

@kalorz
Copy link
Member

kalorz commented Nov 24, 2015

@WojciechKo @jestemkarol @klaszcze CR Done

WojciechKo added a commit that referenced this pull request Nov 25, 2015
@WojciechKo WojciechKo merged commit e432cd1 into master Nov 25, 2015
@WojciechKo WojciechKo deleted the feature-model-specs branch November 25, 2015 10:30
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.

2 participants