Skip to content

Conversation

jnbt
Copy link
Contributor

@jnbt jnbt commented May 23, 2013

Implements a additional controller which is not included per default, but when invoked with a rake task. Uses mocha, chai and sinon for JavaScript specs. This refs #123.

Run rake test_js to serve test suite at /test.

I also added a first test for the Story model. There you can see that the JS specs are very similar to the ruby specs.

Please fell free to add more tests as I'm a little out of time right now.

@swanson
Copy link
Collaborator

swanson commented May 23, 2013

Do you know if these can be run on Travis?

@jnbt
Copy link
Contributor Author

jnbt commented May 23, 2013

I've configure .tavis.yml. This PR is now already tested on Travis:

https://travis-ci.org/swanson/stringer/jobs/7431439

I've you don't like the output you can configure the reporter: Please see http://metaskills.net/mocha-phantomjs/

@swanson
Copy link
Collaborator

swanson commented May 23, 2013

Thanks - appreciate you getting this setup. I'm on vacation until next week so might be a bit before merging as I'd like to take a look through everything and get familiar with the setup.

@swanson swanson merged commit 715fe5d into stringer-rss:master May 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants