commssions

This commit is contained in:
Zin Lin Phyo
2017-08-21 16:11:51 +06:30
parent e4e2c306a4
commit 618f5f3b7c
24 changed files with 421 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
require 'rails_helper'
RSpec.describe "commissions/edit", type: :view do
before(:each) do
@commission = assign(:commission, Commission.create!())
end
it "renders the edit commission form" do
render
assert_select "form[action=?][method=?]", commission_path(@commission), "post" do
end
end
end