i’ve started using rspec for this project (latest versions: rspec
1.1.9 and rspec-rails 1.1.9), and i stumbled upon the following
i get the following fail
expected “new”, got “/Users/elise/Rails/myapp/app/views/user/profiles/
So it expects the full path. That can’t be right ?
should be: doesn’t give me the result i expect for two strings that
assigns[‘page’].menu.should be(“home alone”)
expected “home alone”, got “home alone”
mocking (ok, i’m using mocha, so maybe it isn’t rspec): i make a
mailer raise an error like this:
and in my code, surround this with begin … rescue, the exception is
not caught !
Any tips ?