by amthewiz · 8y ago · 0 comments
describe UsersController do
before do
allow(controller).to receive(:current_user).and_return(nil)
end
describe "GET #new" do
subject { get :new }
it "returns success" do
expect(subject).to be_success
end
end
endComing from Python the end end end hurts though. Why not just use braces then?