Mercurial > hg > soundsoftware-site
comparison plugins/redmine_checkout/spec/models/setting_spec.rb @ 1484:51364c0cd58f redmine-2.4-integration
Merge from live branch. Still need to merge manually in files overridden by plugins.
author | Chris Cannam |
---|---|
date | Wed, 15 Jan 2014 09:59:14 +0000 |
parents | b4b72f1eb644 |
children |
comparison
equal
deleted
inserted
replaced
1464:261b3d9a4903 | 1484:51364c0cd58f |
---|---|
1 require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
2 | |
3 describe Setting do | |
4 fixtures :settings | |
5 | |
6 before(:each) do | |
7 Setting.default_language = 'en' | |
8 end | |
9 | |
10 it "should recognize checkout methods" do | |
11 Setting.checkout_display_checkout_info.should eql Setting.plugin_redmine_checkout['display_checkout_info'] | |
12 Setting.checkout_display_checkout_info.should eql Setting.plugin_redmine_checkout[:display_checkout_info] | |
13 end | |
14 end |