-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
501e6eb
commit 2d330b0
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
# MemberPointTracker | ||
A rails webapp that is used by tamu organizations to take and track member attendance. | ||
|
||
{testing Jesus push} | ||
Steps to setup Rspec and Capybara | ||
1. In gem filed under group ':development, :test do' include: | ||
#rspec testing framework | ||
gem 'rspec-rails' | ||
|
||
# Adds support for Capybara system testing and selenium driver | ||
gem 'capybara', '>= 2.15' | ||
gem 'selenium-webdriver' | ||
# Easy installation and use of web drivers to run system tests with browsers | ||
gem 'webdrivers' | ||
2. run bundle install | ||
3. You should have spec directory | ||
4. In that directory you can add tests. Look at spec/views/login_pace_spec.rb for reference | ||
5. to run do 'bundle exec rspec .\spec\directoryName\rspecFileName.rb' | ||
# example: bundle exec rspec .\spec\views\login_page_spec.rb | ||
# not sure why we need 'bundle exec' might have to fix this later |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters