OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/spec/helpers/version_settings_helper_spe...

13 lines
501 B

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe VersionSettingsHelper do
describe :position_display_options do
before(:each) do
@expected_options = [[I18n.t("version_settings_display_option_none"), 1],
[I18n.t("version_settings_display_option_left"), 2],
[I18n.t("version_settings_display_option_right"), 3]]
end
it { helper.send(:position_display_options).should eql @expected_options }
end
end