Skip to content

spritlesoftware/eat-spinach-with-rails4

Repository files navigation

Eat Spinach With Rails 4

Build Status

Demonstrate the way to spianch test the Posts Model, Article has_many Comments model.

Built as part of weekly knowledge sharing activity at Spritle.com

Run the tests

  • Set the database

      bundle exec rake db:migrate RAILS_ENV=test
    
  • Run Spinach for Posts model

      bundle exec rake spinach features/posts/create_a_post.feature
    
  • Run All Spinach features

      bundle exec rake spinach features/posts/create_a_post.feature        
    

About

Spinach for testing posts model; Article has many comments model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published