spec/spec_helper.rb in user_preferences-1.0.1 vs spec/spec_helper.rb in user_preferences-1.0.2
- old
+ new
@@ -14,9 +14,12 @@
$stdout = STDOUT
# prevent deprecation warnings
I18n.enforce_available_locales = true
+ config.mock_with :rspec do |mocks|
+ mocks.syntax = [:should, :expect]
+ end
config.before(:each) { stub_yml }
end
def stub_yml
fixture = File.expand_path("../fixtures/user_preferences.yml", __FILE__)