Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rimian/angular-sinatra
A Sinatra application running AngularJS and RSpec integration specs
https://github.com/rimian/angular-sinatra
Last synced: about 1 month ago
JSON representation
A Sinatra application running AngularJS and RSpec integration specs
- Host: GitHub
- URL: https://github.com/rimian/angular-sinatra
- Owner: rimian
- License: gpl-2.0
- Created: 2015-07-01T04:07:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-02T06:32:54.000Z (over 9 years ago)
- Last Synced: 2024-05-02T00:08:19.951Z (8 months ago)
- Language: Ruby
- Size: 625 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Angular Sinatra
A Sinatra application running AngularJS and RSpec integration specs
This is a demo for integration testing AngularJS applications.
The idea is that Dynamic Sinatra Applications can be set up in integration tests to see how the AngularJS app behaves. See https://github.com/rimian/angular-sinatra/blob/master/spec/features/home_page_spec.rb
See: http://www.sinatrarb.com/intro.html#Dynamic%20Application%20Creation
# Requirements
A basic understanding of Ruby, AngularJS and RSpec.
## Developing
```
bundle install
npm install
```## Testing
```
rspec
```## Running Locally
```
rackup -p8000 config.ru
```