test/validations.rb in ohm-1.1.0 vs test/validations.rb in ohm-1.1.1
- old
+ new
@@ -101,10 +101,10 @@
end
# An existing model with a valid name
scope do
setup do
- event = Event.create(:name => "original")
+ Event.create(:name => "original")
end
# That has the name changed
scope do
test "not be saved if the new name is nil" do |event|