Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
/ todo_app Public archive

Demonstration in the Singapore Rails Learning Group's first meetup

Notifications You must be signed in to change notification settings

nthock/todo_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo List App

This application is the demonstration of the first session in Singapore Rails Learning Group. It uses SQLite as the database.

Steps to develop this application

Step 1: Update your gemfile to include the testing suite

Update your gemfile to include the below gems:

group :development, :test do
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug', platform: :mri
  gem 'rspec-rails'
  gem 'factory_girl_rails'
end

group :test do
  gem 'rails-controller-testing'
  gem 'faker'
  gem 'capybara'
  gem 'database_cleaner'
  gem 'launchy'
  gem 'selenium-webdriver'
end

Then run the following command to install rspec:

rails generate rspec:install

This will add the following files:

  • .rspec
  • spec/spec_helper.rb
  • spec/rails_helper.rb

Use the rspec command to run your specs:

bundle exec rspec

You should see 0 examples, 0 failures in your terminal/bash.

About

Demonstration in the Singapore Rails Learning Group's first meetup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published