You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
522 B
22 lines
522 B
require 'rails_helper'
|
|
|
|
RSpec.describe "edu_settings/edit", type: :view do
|
|
before(:each) do
|
|
@edu_setting = assign(:edu_setting, EduSetting.create!(
|
|
:name => "MyString",
|
|
:value => "MyString"
|
|
))
|
|
end
|
|
|
|
it "renders the edit edu_setting form" do
|
|
render
|
|
|
|
assert_select "form[action=?][method=?]", edu_setting_path(@edu_setting), "post" do
|
|
|
|
assert_select "input[name=?]", "edu_setting[name]"
|
|
|
|
assert_select "input[name=?]", "edu_setting[value]"
|
|
end
|
|
end
|
|
end
|