Skip to content
Extraits de code Groupes Projets
Valider 540b5680 rédigé par Raphael's avatar Raphael
Parcourir les fichiers

Fixed misc_spec.rb

parent 9c161905
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -4,7 +4,7 @@ describe 'making sure the spec runner works' do
it 'should not delete the database mid-spec' do
User.count.should == 0
billy = User.create(:email => "billy@aol.com", :password => "foobar")
Factory.create(:user)
User.count.should == 1
end
......@@ -14,7 +14,7 @@ describe 'making sure the spec runner works' do
describe 'testing a before do block' do
before do
@bill = User.create(:email => "billy@aol.com", :password => "foobar")
Factory.create(:user)
end
......@@ -23,4 +23,4 @@ describe 'making sure the spec runner works' do
end
end
end
\ No newline at end of file
end
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter