Added specs and factory girl#284
Added specs and factory girl#284PraveenVignesh wants to merge 2 commits intoCodeMontageHQ:masterfrom
Conversation
PraveenVignesh
commented
Dec 25, 2014
- added factory_girl_rails gem
- added faker gem
- created factories for models
- added specs for relationships
- added specs for scopes in model
|
Thanks for adding these! I'm seeing a lot of style changes here and wanted to check -- could you take a moment to use Thoughtbot's Hound to do a quick style guide of this pull request and make sure it fits the standard Ruby guidelines? We appreciate it, @PraveenVignesh! |
There was a problem hiding this comment.
Place the . on the previous line, together with the method call receiver.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
|
Thanks @courte Is everything fine now? |
|
@PraveenVignesh - You're definitely closer! 👏 Check out the HoundCI comments above to see some of the remaining style guide issues. Also, the testing area of the codebase has changed quite a bit since you first submitted. For example, factory-girl has already been added, along with a number of new specs. You may want to take a few steps to get your version up to date.
That process will cut down on any work you might do fixing code that's not be relevant anymore. Let me know if you have any questions! |
spec/models/event_spec.rb
Outdated
There was a problem hiding this comment.
Align the elements of a hash literal if they span more than one line.