|
|
|
|
@ -17,7 +17,7 @@ RSpec.describe "question_lists/index", type: :view do
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
it "renders a list of question_lists" do
|
|
|
|
|
render(template: "question_lists/index.html.haml" )
|
|
|
|
|
render(template: "question_lists/index" )
|
|
|
|
|
assert_select "tr>td", :text => "Name".to_s, :count => 2
|
|
|
|
|
assert_select "tr>td", :text => "MyText".to_s, :count => 2
|
|
|
|
|
assert_select "tr>td", :text => "1,2,3".to_s, :count => 1
|
|
|
|
|
|