test/dummy/spec/factories.rb in gmaps4rails-0.7.9 vs test/dummy/spec/factories.rb in gmaps4rails-0.8.0

- old
+ new

@@ -1,20 +1,25 @@ Factory.define :user do |f| f.name "me" - f.address "Toulon, France" + f.sec_address "Toulon, France" end Factory.define :user_paris, :parent => :user do |f| f.name "me" - f.address "Paris, France" + f.sec_address "Paris, France" end Factory.define :user_with_pic, :parent => :user do |f| f.name "me" - f.address "Toulon, France" + f.sec_address "Toulon, France" f.picture "http://www.blankdots.com/img/github-32x32.png" end Factory.define :invalid_user, :parent => :user do |f| f.name "me" - f.address "home" + f.sec_address "home" end + +Factory.define :user_incomplete_address, :parent => :user do |f| + f.name "me" + f.sec_address "Toulon, PACA, France" +end \ No newline at end of file