Fixed misc_spec.rb

This commit is contained in:
Raphael 2010-06-22 10:50:35 -07:00
parent 9c1619059b
commit 540b56805d

View file

@ -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
end