On Wed, Aug 24, 2011 at 6:40 PM, Matthias Siegel
wrote:
> Hi,
>
> I'm fairly new to RSpec with Rails and I'm trying to work out how I can
> write request specs for resources that require a logged in user.
>
> I can't get this one to pass:
>
>
> describe "GET /admin/account" do
>
> it "should have
Hi,
I'm fairly new to RSpec with Rails and I'm trying to work out how I can write
request specs for resources that require a logged in user.
I can't get this one to pass:
describe "GET /admin/account" do
it "should have a 200 status code when logged in" do
post "/login", { :email => @
On Aug 23, 2011, at 5:18 PM, David Chelimsky wrote:
On Aug 23, 2011, at 3:26 PM, Rob Biedenharn wrote:
On Aug 23, 2011, at 3:16 PM, David Chelimsky wrote:
On Aug 23, 2011, at 1:00 PM, Roger Pack wrote:
This error message:
it 'should' do
proc { eval("a=")}.should raise_exception(/Synt