spec/mongoid-preferences_spec.rb in mongoid-preferences-0.0.1 vs spec/mongoid-preferences_spec.rb in mongoid-preferences-0.0.2
- old
+ new
@@ -3,11 +3,10 @@
describe Mongoid::Preferences::Preferenceable do
let(:file_default_preferences_hash) {
HashWithIndifferentAccess.new( YAML.load_file(File.join(File.dirname(__FILE__),
'models_preferences',
- 'dummy',
- 'default_preferences.yml')))
+ 'dummy.yml')))
}
let(:view_preferences_hash) { file_default_preferences_hash[:view][:preferences] }
let(:default_preferences_hash) {
\ No newline at end of file