Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sandro/specjour_rails_app
An example rails app for testing specjour
https://github.com/sandro/specjour_rails_app
Last synced: 12 days ago
JSON representation
An example rails app for testing specjour
- Host: GitHub
- URL: https://github.com/sandro/specjour_rails_app
- Owner: sandro
- Created: 2012-11-19T06:31:00.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-13T20:46:39.000Z (over 10 years ago)
- Last Synced: 2024-04-14T15:10:13.307Z (7 months ago)
- Language: Ruby
- Size: 257 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Welcome to Rails + [Specjour](https://github.com/sandro/specjour)
A very simple Rails app, containing very simple RSpec and Cucumber tests. This app gives the specjour community a sane playground where they can try out specjour, and recreate any bugs they encounter.
## Installation
bundle install
## Usage
Run the entire suite
specjour
Run only RSpec
specjour spec/
Run only Cucumber
specjour features/
Distribute all examples in one RSpec file
specjour spec/controllers/articles_controller_spec.rb
## Run against a local copy of specjour
Need to test against your forked version specjour? Simply point your Gemfile to the specjour system path, and remember to use `bundle exec specjour` instead of simply `specjour`.Edit your Gemfile
gem 'specjour', path: '~/src/ruby/specjour'
Also, life will be easier if you use two separate terminal windows: one for the
listener, and one for the dispatcher. Make sure the listener only sets up one worker process to ensure usable debuggers.Terminal 1
bundle exec specjour listen -w 1
Terminal 2
bundle exec specjour