charlotte-ruby / impressionist

Rails Plugin that tracks impressions and page views
MIT License
1.53k stars 311 forks source link

Refactor test folder and create dummy app #287

Closed invalidusrname closed 3 years ago

invalidusrname commented 4 years ago

The refactoring follows the rails guide approach for creating a rails plugin by using a dummy application to test the gem.

This allows all tests to be run under a single command:

$ bundle exec rspec

I reorganized tests so they all live under the spec folder.

Inspiration for this PR:

NOTE: Please merge this in after #286