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

Example Solution #2

Open
rngtng opened this issue Jan 28, 2014 · 0 comments
Open

Example Solution #2

rngtng opened this issue Jan 28, 2014 · 0 comments

Comments

@rngtng
Copy link

rngtng commented Jan 28, 2014

Hey there, find an example solution here:

https://github.com/rngtng/progchallenge/tree/master/seat-reservations/spec

And another test to refactor:
https://github.com/rngtng/progchallenge/blob/master/seat-reservations/spec/test_store_spec.rb

Check http://betterspecs.org for more "best-practices"

Disclamer We used rspec2 notiation, e.g. subject.should == [] future rspec3 way will be expect(subject).to be([])

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

No branches or pull requests

1 participant