- 
                Notifications
    You must be signed in to change notification settings 
- Fork 73
Added specs and factory girl #284
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
base: master
Are you sure you want to change the base?
Added specs and factory girl #284
Conversation
         PraveenVignesh
  
      
      
      commented
      
            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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align the elements of a hash literal if they span more than one line.
        
          
                spec/models/organization_spec.rb
              
                Outdated
          
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
e83733b    to
    f8c2086      
    Compare
  
            
          
                spec/models/organization_spec.rb
              
                Outdated
          
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [81/80]
7f6857c    to
    32e3cf3      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary spacing detected.
32e3cf3    to
    84b7632      
    Compare
  
    more style fixes added trait for job, event factories added traits for project, style fixes, merge fixes added trait for public event fixed job factory
84b7632    to
    01869f3      
    Compare
  
    | @courte I have fixed the style violations and rebase it with master. Please check this and give your feedback. |