test/is_sluggable_test.rb in pseudocephalopod-0.3.0 vs test/is_sluggable_test.rb in pseudocephalopod-0.3.1
- old
+ new
@@ -74,13 +74,13 @@
should 'not keep a users slug when updating themselves' do
user = User.create :name => "bob is awesome"
assert_equal "bob-is-awesome", user.to_param
assert !user.new_record?
- user.update_attributes! :name => "BOB-is-AWESOME"
+ user.update_attributes :name => "BOB-is-AWESOME"
assert_equal "bob-is-awesome", user.to_param
end
-
+
end
context 'with slug syncing disabled' do
setup { setup_slugs! :sync => false }
\ No newline at end of file