Sha256: 4189e9faabfba0eb481752a2fe469685f4bee9b9578f5d633672448687b09fe2

Contents?: true

Size: 315 Bytes

Versions: 23

Compression:

Stored size: 315 Bytes

Contents

require 'rails_helper'

RSpec.describe "withdraws/edit", type: :view do
  before(:each) do
    @withdraw = assign(:withdraw, FactoryBot.create(:withdraw))
  end

  it "renders the edit withdraw form" do
    render

    assert_select "form[action=?][method=?]", withdraw_path(@withdraw), "post" do
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
enju_library-0.3.11 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.10 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.9 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.8 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.8.rc.2 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.8.rc.1 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.4.0.rc.1 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.7 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.6 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.4.0.beta.4 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.4.0.beta.3 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.4.0.beta.2 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.4.0.beta.1 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.5 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.4 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.3 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.2 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.1 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.0 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.3.0.rc.1 spec/views/withdraws/edit.html.erb_spec.rb