Clean all those "Should" tests from Rspec tests
GitHub - siyelo/should_clean: Utility to remove unneeded shoulds from your RSpec test descriptions - 'it "should do something"' becomes 'it "does something"'

    
      
  





    
    

    






  
  


      
            
    
      

  
                Notifications
    You must be signed in to change notification settings

  

  
              Fork
    6

  

  
        
            
          Star
          40

  



        

        


          

  
      
  
    
              
        Code
          


    

      
  
    
              
        Issues
          4


    

      
  
    
              
        Pull requests
          1


    

      
  
    
              
        Actions
          


    

      
  
    
              
        Projects
          


    

      
  
    
              
        Wiki
          


    

      
  
    
              
        Security
          

    

      
  
    
              
        Insights
          


    


    


  

  




          


















  
  
  ShouldClean

Clean "should" from test libraries. Example:

is replaced with:

Installation

Usage
Search and replace in a directory:
should_clean -d DIRECTORY

Run in simulator mode (it just prints the changes to the screen)
should_clean -d DIRECTORY -s

Related Projects

should_not: a gem to enforce that specs in RSpec and MiniTest do not begin with "should."

Contributing

Fork it
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Added some feature')
Make sure all tests pass (rspec spec/)
Push to the branch (git push origin my-new-feature)
Create new Pull Request




      




    
  