Merge branch 'save-bug' of git://github.com/raycmorgan/couchrest into raycmorgan/save-bug
This commit is contained in:
commit
a3ac5fc4e8
|
@ -89,8 +89,11 @@ class Player < CouchRest::Model
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "save bug" do
|
describe "save bug" do
|
||||||
|
before(:each) do
|
||||||
|
CouchRest::Model.default_database = reset_test_db!
|
||||||
|
end
|
||||||
|
|
||||||
it "should fix" do
|
it "should fix" do
|
||||||
@db = reset_test_db!
|
|
||||||
@p = Player.new
|
@p = Player.new
|
||||||
@p.email = 'insane@fakestreet.com'
|
@p.email = 'insane@fakestreet.com'
|
||||||
@p.save
|
@p.save
|
||||||
|
|
Loading…
Reference in a new issue