Skip to content

Commit

Permalink
Find out why order isn't valid
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Aug 28, 2012
1 parent 2041786 commit c6cf87b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ branches:
- 1-1-stable
- 1-2-stable
- master
- debugging-order-callbacks
rvm:
- 1.8.7
- 1.9.3
2 changes: 2 additions & 0 deletions core/spec/models/order/callbacks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
it "o'[email protected] is a valid email address" do
order.state = 'address'
order.email = "o'[email protected]"
p order.valid?
p order.errors
order.should be_valid
end
end
Expand Down

0 comments on commit c6cf87b

Please sign in to comment.