Mercurial > hg > soundsoftware-site
annotate vendor/plugins/redmine_checkout/spec/models/setting_spec.rb @ 976:0befb332f41a get_statistics
get stats up to current date
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 25 Oct 2012 13:50:45 +0100 |
parents | 020926a36823 |
children |
rev | line source |
---|---|
Chris@16 | 1 require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') |
Chris@16 | 2 |
Chris@16 | 3 describe Setting do |
Chris@16 | 4 fixtures :settings |
Chris@16 | 5 |
Chris@16 | 6 before(:each) do |
Chris@16 | 7 Setting.default_language = 'en' |
Chris@16 | 8 end |
Chris@16 | 9 |
Chris@16 | 10 it "should recognize checkout methods" do |
Chris@16 | 11 Setting.checkout_display_checkout_info.should eql Setting.plugin_redmine_checkout['display_checkout_info'] |
Chris@16 | 12 Setting.checkout_display_checkout_info.should eql Setting.plugin_redmine_checkout[:display_checkout_info] |
Chris@16 | 13 end |
Chris@16 | 14 end |