using send in testing a private method of version_settings_helper

pull/6827/head
Jens Ulferts 14 years ago
parent e553d506ce
commit 25fef9e1cf
  1. 2
      spec/helpers/version_settings_helper_spec.rb

@ -8,6 +8,6 @@ describe VersionSettingsHelper do
[I18n.t("version_settings_display_option_right"), 3]]
end
it { helper.position_display_options.should eql @expected_options }
it { helper.send(:position_display_options).should eql @expected_options }
end
end
Loading…
Cancel
Save