Find file History
jacobherrington Merge pull request #3015 from nebulab/cedum/enable_verify_partial_dou…
…bles_p2

Enable partial doubles verification for RSpec (part 2)
Latest commit e6f648f Jan 16, 2019

README.md

solidus_backend

Backend contains the controllers, views, and assets making up the admin interface of Solidus.

Assets

JavaScript

Can be found in app/assets/javascripts/spree/backend/

Our scripts are written in a mix of CoffeeScript and JavaScript (ES5). We can't easily use a transpiler for ECMAScript >= 6 without adding additional steps for applications using solidus_admin.

Though we have existing CoffeeScript files, any new files should be in JavaScript (ES5).

Stylesheets

Can be found in app/assets/stylesheets/spree/backend/

The stylesheets are written in SCSS and include all of Bourbon and Bootstrap 4 alpha.

When running the application there is a styleguide available at:

/admin/style_guide

Testing

Run the tests

bundle exec rspec

Run the JavaScript tests (must have ChromeDriver installed)

bundle exec teaspoon