diff --git a/app/views/profile_editor/_person.rhtml b/app/views/profile_editor/_person.rhtml
index 5ec85d3..0964152 100644
--- a/app/views/profile_editor/_person.rhtml
+++ b/app/views/profile_editor/_person.rhtml
@@ -24,4 +24,3 @@
<%= select_tag 'profile_data[notification_time]', options_for_select([[_('Disabled'), 0], [_('Hourly'), 1], [_('Half Day'), 12], [_('Daily'), 24]], @profile.notification_time) %>
-
diff --git a/test/unit/acts_as_having_settings_test.rb b/test/unit/acts_as_having_settings_test.rb
index 57d737c..2eca0a6 100644
--- a/test/unit/acts_as_having_settings_test.rb
+++ b/test/unit/acts_as_having_settings_test.rb
@@ -82,7 +82,7 @@ class ActsAsHavingSettingsTest < ActiveSupport::TestCase
should 'setting_changed be true if a setting passed as parameter was changed' do
obj = TestClass.new
- obj.flag= true
+ obj.flag = true
assert obj.setting_changed? 'flag'
end
@@ -93,24 +93,24 @@ class ActsAsHavingSettingsTest < ActiveSupport::TestCase
should 'setting_changed be false if a setting passed as parameter was changed with the same value' do
obj = TestClass.new
- obj.flag= true
+ obj.flag = true
obj.save
- obj.flag= true
+ obj.flag = true
assert !obj.setting_changed?('flag')
end
should 'setting_changed be false if a setting passed as parameter was not changed but another setting is changed' do
obj = TestClass.new(:name => 'some name')
obj.save
- obj.name= 'antoher nme'
+ obj.name = 'antoher nme'
assert !obj.setting_changed?('flag')
end
should 'setting_changed be true for all changed fields' do
obj = TestClass.new(:name => 'some name', :flag => false)
obj.save
- obj.name= 'another nme'
- obj.flag= true
+ obj.name = 'another nme'
+ obj.flag = true
assert obj.setting_changed?('flag')
assert obj.setting_changed?('name')
end
--
libgit2 0.21.2