SpreeEventInvitation

This extension lets you create events to announce them to visitors. Upcoming events will be shown on the homepage.

Installation

Add spree_event_invitation to your Gemfile:

gem 'spree_event_invitation',

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_event_invitation:install

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.
Next you append the following to the dummy/config/environment.rb

require 'logging'
@@logger = Logging.logger['test_logger']
Logging.appenders.rolling_file(
                               'test.log',
                               :size    => 100000,
                               :layout => Logging.layouts.json
                               )
@@logger.add_appenders(
    Logging.appenders.file('test.log')
)

@@logger.level = :info

Run rspec

bundle
bundle exec rake spec

Copyright (c) 2014 Carsten Heinrigs, released under the New BSD License

Comments

No comments yet

Please login to add comment.