Displaying 1 result from an estimated 1 matches for "lescollectionneursassocies".
2013 Jul 19
0
Best practices for capybara's features spec?
...t is a "very high level"?
-------------------------------
I try to keep my features specs at a very high level. I test only the
interactions between the user and the application. I test only the "happy
path". You can find one example of my tests here :
https://github.com/GCorbel/lescollectionneursassocies/blob/master/spec/acceptances/artists_spec.rb
.
I do specs for controllers, mailers, models, etc. but is it good to also
check if a new record is added or if a mail is send in a feature spec?
I think it''s not an implementation detail. The user want to have and email
sended and a user crea...