spree/spree — pull request #5296 by BenMorganIO (2014-08-30 22:16:21+00:00)
Title: create stock location that passes validations

In a Spree application perform as follows:

```shell
$ rails new spree_app
$ cd spree_app && spree install -A
```

There should be an error along the lines of:

```
ActiveRecord::RecordInvalid: Validation of Address1 can't be blank, City can't be blank, Zipcode can't be blank, Country can't be blank, State name can't be blank failed
from /Users/benmorgan/.rvm/gems/ruby-2.0.0-p481/gems/activerecord-4.1.5/lib/active_record/validations.rb:57:in `save!'
```

In this commit, I fix the issue when creating a new stock location.