Sha256: 76bedc436ada659de4ec9f571729778c5da2f148b71efafd41ef9c08feb24212

Contents?: true

Size: 316 Bytes

Versions: 22

Compression:

Stored size: 316 Bytes

Contents

require 'rails_helper'

RSpec.describe "withdraws/edit", type: :view do
  before(:each) do
    @withdraw = assign(:withdraw, FactoryGirl.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

22 entries across 20 versions & 2 rubygems

Version Path
enju_library-0.2.3 spec/views/withdraws/edit.html.erb_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.2/spec/views/withdraws/edit.html.erb_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.1/spec/views/withdraws/edit.html.erb_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/bundler/gems/enju_library-d36f415e177e/spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.2 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.1 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0.beta.10 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0.beta.9 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0.beta.8 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0.beta.7 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0.beta.6 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0.beta.5 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0.beta.4 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0.beta.3 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0.beta.2 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.2.0.beta.1 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.1.2 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.1.1 spec/views/withdraws/edit.html.erb_spec.rb
enju_library-0.1.0 spec/views/withdraws/edit.html.erb_spec.rb