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.
17 lines
365 B
17 lines
365 B
6 years ago
|
require 'rails_helper'
|
||
|
|
||
|
RSpec.describe "edu_settings/show", type: :view do
|
||
|
before(:each) do
|
||
|
@edu_setting = assign(:edu_setting, EduSetting.create!(
|
||
|
:name => "Name",
|
||
|
:value => "Value"
|
||
|
))
|
||
|
end
|
||
|
|
||
|
it "renders attributes in <p>" do
|
||
|
render
|
||
|
expect(rendered).to match(/Name/)
|
||
|
expect(rendered).to match(/Value/)
|
||
|
end
|
||
|
end
|