Sha256: 398fafde8c0adbffe2f9145a3f9cf5f35cbb735741865b2858e472b838df1b92

Contents?: true

Size: 278 Bytes

Versions: 6

Compression:

Stored size: 278 Bytes

Contents

require "spec_helper"

RSpec.describe Devise::PinfirmableController do
  describe "GET new" do
    before do
      @request.env["devise.mapping"] = Devise.mappings[:user]
    end

    it "returns success" do
      get :new
      expect(response).to be_success
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pinfirmable-0.1.5 spec/controllers/pinfirmable_controller/new_spec.rb
pinfirmable-0.1.4 spec/controllers/pinfirmable_controller/new_spec.rb
pinfirmable-0.1.3 spec/controllers/pinfirmable_controller/new_spec.rb
pinfirmable-0.1.2 spec/controllers/pinfirmable_controller/new_spec.rb
pinfirmable-0.1.1 spec/controllers/pinfirmable_controller/new_spec.rb
pinfirmable-0.1.0 spec/controllers/pinfirmable_controller/new_spec.rb