Fixed the "save bug should fix" spec
This commit is contained in:
parent
12c09085df
commit
b5ec8ba3c3
1 changed files with 4 additions and 1 deletions
|
@ -89,8 +89,11 @@ class Player < CouchRest::Model
|
|||
end
|
||||
|
||||
describe "save bug" do
|
||||
before(:each) do
|
||||
CouchRest::Model.default_database = reset_test_db!
|
||||
end
|
||||
|
||||
it "should fix" do
|
||||
@db = reset_test_db!
|
||||
@p = Player.new
|
||||
@p.email = 'insane@fakestreet.com'
|
||||
@p.save
|
||||
|
|
Loading…
Reference in a new issue